Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a field to an existing table.
Message
De
19/04/1999 23:52:00
 
 
À
19/04/1999 15:53:49
Dan Neuman
Builder Software
Nevada, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00209864
Message ID:
00210007
Vues:
30
>Does anyone know a one-line command to add a field to an existing table?
>
>I would rather not create another table with the extra field and copy the data over.

Dan,
In 2.6, the quickest way would be to "SELECT *, + newfield from tablename" to end up with a table with the new field. 2.X doesn't support ALTER TABLE, a VF command that adds, edits or removes fields, as John pointed out in his last message. :)
Brad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform