Avatar of T-Virus
T-Virus
Flag for Netherlands asked on

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

Avatar of undefined
Last Comment
60MXG

8/22/2022 - Mon
60MXG

ASKER CERTIFIED SOLUTION
adathelad

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

ASKER
Exactly what I am looking for, Thanks
60MXG

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