Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change field name programatically?
Message
De
31/08/2000 15:49:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00411421
Message ID:
00411463
Vues:
12
>ALTER TABLE [RENAME COLUMN FieldName4 TO FieldName5]
>
>ALTER TABLE can be used to modify the structure of a table that has not been added to a database. However, Visual FoxPro generates an error if you include the DEFAULT, FOREIGN KEY, PRIMARY KEY, REFERENCES, or SET clauses when modifying a free table.

John -

Just to clarify:
It can be used on tables in a database or free tables.

In addition, it will generate an error - on either type of table - if the field you are renaming is part of an index.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform