Skip to content

Commit 72092b2

Browse files
committed
Added SQLcompare
1 parent 0df5191 commit 72092b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

SQLCompare/TsqlTools-SQLcompare-ObjectsCompare.sql

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,12 @@ CLOSE dbcursor
105105
DEALLOCATE dbcursor
106106

107107
SELECT *
108-
FROM #objectstaus
108+
FROM #objectstaus where objecttype='USER_TABLE'
109109
ORDER BY dbname ASC
110110

111+
SELECT *
112+
FROM #objectstaus where objecttype not in ('USER_TABLE')
113+
ORDER BY dbname ASC
114+
DROP TABLE #objectstaus
115+
111116
DROP TABLE #objectstaus

0 commit comments

Comments
 (0)