Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server 2000 or 2005 - Data dictionary

Status
Not open for further replies.

ReportDr00

IS-IT--Management
Mar 2, 2007
194
US

Hi

How do i get the data dictionary for my database i.e is in SQL Server 2000. I know i have to query the system tables, but is there any queries or stored procedure already exists that get me all the information of my tables and fields (like name, data type, length etc)

Armani
 
Start with Information_Schema.Columns.

[tt][blue]Select * From Information_Schema.Columns[/blue][/tt]

-George

"The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
 
sp_tables and sp_columns

-------------------------------------------------------------------------------------------------------------------------
"Now I can look at you in peace; I don't eat you any more." Franz Kafka, while admiring fish in an aquarium
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top