Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Data base properties

Author  Topic 

wawansur
Starting Member

44 Posts

Posted - 2010-06-22 : 22:27:12
I want to make database documentation. Anyone help me, how to get properties the database in simple way. I want get information table name, column name, data type, data length, null or not null, primary key. Any query?

I'm nothing just gonna being

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2010-06-22 : 22:49:40
you can query INFORMATION_SCHEMA.COLUMNS for the required information


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

wawansur
Starting Member

44 Posts

Posted - 2010-06-24 : 01:17:27
I want all table structure and schema information in a database. Not one by one.

I'm nothing just gonna being
Go to Top of Page

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2010-06-24 : 03:09:52
What do you mean "one by one" ?

INFORMATION_SCHEMA contains all table & columns information in a database


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -