How to find all the user tables in a database :
select * from sysobjects a where a.[xtype] = 'u' and a.[name] <> 'dtproperties'. This will give you list of all your tables.

Comments

Popular posts from this blog

SQL 2008

SQL Buddy

Microsoft a BI Force