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 2005 Forums
 SQL Server Administration (2005)
 database info

Author  Topic 

collie
Constraint Violating Yak Guru

400 Posts

Posted - 2008-01-15 : 08:19:26
Hi,

I need to list in Word doc all the databases, tables and sp under a server. Is there a quick method of doing that?

Thanks

Whisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much.

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2008-01-15 : 08:23:40
You can make use of sp_databases to get list of databases while you can use INFORMATION_SCHEMA.TABLES and INFORMATION_SCHEMA.ROUTINES views to get information about tables and SPs respectively.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-01-15 : 23:27:01
Quick way is third party sql server document tools.
Go to Top of Page

jezemine
Master Smack Fu Yak Hacker

2886 Posts

Posted - 2008-01-15 : 23:37:34
I wrote a tool that does that, see the link in my sig.


elsasoft.org
Go to Top of Page
   

- Advertisement -