About
Pricing
Community
Teams
Start Free Trial
Log in
T-Virus
asked on
2/25/2009
Overview All Tables and Columns in DB
Hi,
How can I quickly generate a table which contains a list off all tables and columns
In a DB?
Thanks for Helping!
Microsoft SQL Server 2005
4
1
Last Comment
60MXG
8/22/2022 - Mon
60MXG
2/25/2009
http://www.electrictoolbox.com/describe-table-structure-sql-server/
ASKER CERTIFIED SOLUTION
adathelad
2/25/2009
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
T-Virus
2/25/2009
ASKER
Exactly what I am looking for, Thanks
60MXG
2/25/2009
simple form would be
SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH
FROM INFORMATION_SCHEMA.COLUMNS
ORDER BY TABLE_NAME
USING adathelad's method
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy