Question : List all tables command

Dear all,

How can i list all tables in a database? For example AdventureWorks, how would i list all the system tables and all the user tables?

Regards

Lyon JT

Answer : List all tables command

for 2000
select * from sysobjects where type = 'u'

for 2005
select * from sys.tables
Random Solutions  
 
programming4us programming4us