Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a new column to a table via the SQL statement
Message
 
To
17/01/2000 17:21:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00319232
Message ID:
00319233
Views:
13
select field1, field2, 0 as num_field, ' ' as char_field, ctod(' / / ') as datefield ;
from mytable ;
into table newtable

>Hi All,
>
>In the foxpro help it mentions that you can create a new 'select_item' by using a constant but fails to give you
>an example of how you do that. Can someone give me an example of a new numeric column initialized to zero for
>a table built with an SQL statement ?
>
>Thanks,
>
>Don
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform