Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy way to document SQL Server data structure?
Message
From
28/11/2001 06:02:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00586570
Message ID:
00586830
Views:
26
>Is there an easy way to print or export a data structure/dictionary from a SQL Server 2000 database? I can create a data diagram, but I have 41 tables and just laying everything out is a pain. Does anyone know of a simple routine to create list of tables, fields, descriptions, etc.?
>
>Thanks,
>Doug

Doug,
You could use
-SQLTables and SQLColumns (see faq#8039)
-sp_help* procedures
-INFORMATION_SCHEMA ie:

SQLExec(lnConn,"SELECT * from pubs.INFORMATION_SCHEMA.TABLES",'TableList')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform