Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I change the Fields name of a table at Run Time
Message
De
20/03/1999 08:05:39
 
 
À
20/03/1999 06:08:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00200114
Message ID:
00200119
Vues:
16
>How can I change the fields name of a table at Run Time ?
>

Take a lok at the ALTER TABLE command; the RENAME COLUMN clause should handle this for you. Realize that if you have indexes on the field, they'll get broken when you rename - it's best to drop the tags which rely on the old name before renaming the column, and then re-add the tags to the index programmatically afterwards.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform