Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL equvilant of copy structure
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00557214
Message ID:
00557218
Views:
11
Hi!

Take a look to the SQl Server help, System Stored procedures main help page, "Catalog Procedures". There are such as sp_columns, sp_tables, sp_pkeys etc. that seems what you asked for.

>Does anybody know what the best way of creating a new SQL Server table with indexes from the structure of an existing SQL Server table?
>
>I guess the commands would be similar to COPY STRUCTURE but using SQLEXEC(), but being a SQL novice, I am stuck.
>
>Any help would be gratefully appreciated.
>
>Justin.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform