Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatically generating a 'create table' command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00953298
Message ID:
00953365
Vues:
22
>Has anyone written a 'Create Table command' generation program that will create that command by evaluating a real table?
>
>If so, do you mind sharing? We have several large tables (many fields) that we want to start creating programmatically, and I don't want to manually build the entire 'CREATE TABLE' command.
>
>Thanks, Michael

Could you use gendbc program? Or if free tables, what about using COPY STRUCTURE EXTENDED to save the table structures to a file that you could use as a table definition file that you use to create the tables on the user's PC. Select the table structure from this table definition file for a specific table into an array and use CREATE TABLE FROM ARRAY to create the table.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform