Dennis, 

There is no "bit" which can be filipped in the ".RB1" file to convert a table 
to a view.  In 6.5+ for Dos if you try to create a view with the same name as a 
table you get an error mesage.  

I would echo previous comments that you need to thorough review code in command 
files and/or determine if commands were issued from "R>".

Step wise if the table exists you would first need to delete the table with a 
"DROP tABLE" command.   You would then need to issue a "CREATE VIEW" command.

If you wish to call me I can discuss the mechanism of how a view is recorded in 
the ".RB1" file and why you must issue a command to create a table not just 
some how magically turn a table into a view.
--
sincerely, 
Jim Bentley
American Celiac Society
266 Midway Dr
River Ridge LA 70123
email: [EMAIL PROTECTED] 
Phone: 504-738-6165




-----Original Message-----
From:     Kenny Camp <[EMAIL PROTECTED]>
Sent:     Thu, 7 Apr 2005 10:06:48 -0500
To:       [email protected] (RBASE-L Mailing List)
Subject:  [RBASE-L] - Re: table >>> view?

Years ago, back in 2.11, I had that happen maybe 3 or 4 times. It occurred when 
I did deleted all the rows where count > 0.  It has not happened since 2.11. 

Kenny
  ----- Original Message ----- 
  From: Dennis Fleming 
  To: RBASE-L Mailing List 
  Sent: Wednesday, April 06, 2005 7:54 PM
  Subject: [RBASE-L] - Re: table >>> view?


  OK. 
  This table name is never used as a view name and this is a first for me in 
Rbase.
  I didn't check the RB1 table to see if there is a switch (bit) which means 
table or view and somehow got corrupted.

  Dennis
  *****


  At 10:48 PM 4/5/2005, you wrote:


    At 10:37 PM 4/5/2005, Dennis Fleming wrote:


      It wasn't hard to fix but a customer sent me their data base
      and a table had become a view. Same name. They lost about 400
      rows of data but we were able to recreate them.

      This is in 6.5, but I was wondering if anyone has seen this or
      how it might happen.

    Dennis,

    I would check the code which maintains the database maintenance
    routines, if any.

    It might be possible to type CREATE VIEW instead of CREATE TABLE,
    etc.

    Very Best R:egards,

    Razzak.




  Dennis Fleming
  IISCO
  http://www.TheBestCMMS.com
  Phone: 570 775-7593
  Mobile: 570 351-5290 

��<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2900.2604" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Years ago, back in 2.11, I had that happen maybe 3 or 4 times. It occurred when I did deleted all the rows where count &gt; 0.&nbsp; It has not happened since 2.11.&nbsp;</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>Kenny</FONT></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A [EMAIL PROTECTED] href="mailto:[EMAIL PROTECTED]">Dennis Fleming</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A [EMAIL PROTECTED] href="mailto:[EMAIL PROTECTED]">RBASE-L Mailing List</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 06, 2005 7:54 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> [RBASE-L] - Re: table &gt;&gt;&gt; view?</DIV> <DIV><BR></DIV><FONT size=3>OK. <BR>This table name is never used as a view name and this is a first for me in Rbase.<BR>I didn't check the RB1 table to see if there is a switch (bit) which means table or view and somehow got corrupted.<BR><BR>Dennis<BR>*****<BR><BR><BR>At 10:48 PM 4/5/2005, you wrote:<BR><BR> <BLOCKQUOTE class=cite cite="" type="cite">At 10:37 PM 4/5/2005, Dennis Fleming wrote:<BR><BR> <BLOCKQUOTE class=cite cite="" type="cite">It wasn't hard to fix but a customer sent me their data base<BR>and a table had become a view. Same name. They lost about 400<BR>rows of data but we were able to recreate them.<BR><BR>This is in 6.5, but I was wondering if anyone has seen this or<BR>how it might happen.</BLOCKQUOTE><BR>Dennis,<BR><BR>I would check the code which maintains the database maintenance<BR>routines, if any.<BR><BR>It might be possible to type CREATE VIEW instead of CREATE TABLE,<BR>etc.<BR><BR>Very Best R:egards,<BR><BR>Razzak.<BR><BR></FONT></BLOCKQUOTE><BR> <DIV>Dennis Fleming</DIV> <DIV>IISCO</DIV> <DIV><A href="http://www.thebestcmms.com/" EUDORA="AUTOURL">http://www.TheBestCMMS.com</A></DIV> <DIV>Phone: 570 775-7593</DIV>Mobile: 570 351-5290 </BLOCKQUOTE></BODY></HTML>

Reply via email to