1: 2: 3: 4:
SELECT C.* FROM INFORMATION_SCHEMA.COLUMNS C INNER JOIN sysobjects so ON (C.TABLE_NAME = so.NAME and type='U' and C.TABLE_NAME <> 'dtproperties')