Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a new column to a table via the SQL statement
Message
 
À
17/01/2000 17:21:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00319232
Message ID:
00319233
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform