Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatically generating a 'create table' command
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00953298
Message ID:
00953365
Views:
21
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform