Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automate adding field to an existing table
Message
 
 
À
11/08/2005 13:55:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01040325
Message ID:
01040327
Vues:
12
>I have an application where we keep a separate database for each client and we now have over 1,000 separate databases. Each database is identical with the same set of tables, views, etc. I need to add a new field to one of the tables in the database. Is there a way to automate just adding a new field to a table without removing the current table, adding the new table and appending the old data back in?

Did you try
ALTER TABLE mytable ADD COLUMN NewColumn C(20)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform