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

How do I return a list of databases on a server?

Status
Not open for further replies.

hellferret

Programmer
Mar 15, 2001
91
GB
How would you return a list of databases on a specified server?

The eventual aim is to get a list of databases on a specified server into a dropdown in Access 2000.

Any ideas?
 
The sysdatabases table on the master database will return a list of databases on the server

select * from master..sysdatabases

Chris Dukes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top