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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Table report

Status
Not open for further replies.

gbraden

MIS
Jan 24, 2002
129
US
Does anyone have a script that I can run on our sql server 2000 that will give me a neat (printable) report of my tables. I use to run a script on Oracle that would dump my table description by column name, data-type and length and broke by table name and was filtered by owner.



[noevil]
Glen Braden
 
Take a look at the INFORMATION_SCHEMA.COLUMNS view. It should have all the info that you are looking for.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

My Blog
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top