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.
select * from sysobjects a where a.[xtype] = 'u' and a.[name] <> 'dtproperties'. This will give you list of all your tables.
Comments