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 2000 Forums
 SQL Server Development (2000)
 Select User Created Tables from SQL

Author  Topic 

vemulavijay
Starting Member

32 Posts

Posted - 2006-01-19 : 09:41:19
hi,

i am looking for a query which gives me the list of user created tables in sql database.

thanks,
vemula vijay

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-01-19 : 09:45:58
1 Select name from sysobjects where xtype='u'
2 Select table_name from information_Schema.tables where table_type='Base Table'


Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

vemulavijay
Starting Member

32 Posts

Posted - 2006-01-20 : 01:00:15
Thanks very much madhivanan
Go to Top of Page
   

- Advertisement -