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

Is there an SQL query that will list all tables in a specific MSSQL dB 1

Status
Not open for further replies.

numbered

Technical User
Jun 10, 2002
54
0
0
CA
Is there an SQL query that will list all tables in a specific MSSQL dB?
 
hi!
Why not? see this query, helpfull to your requirement.

select name from sysobjects where type ='U'

here the 'type' is mentioned for user-defined table.

bye
Ravichandran.V
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top