Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Retrieving a list of user databases from SQL Server


Message #1 by kanderso@n... on Wed, 17 Jan 2001 22:58:04 -0000
I found this to be the most useful.

select name from sysobjects where type='U'
' Type U = User Tables
' Type P = User Stored Procedures


this will return all the user defined tables or procedures if needed.


HTH
Mitch Spruill

  Return to Index