Structure Overhaul

This commit is contained in:
Paul Andrew
2022-02-11 10:31:23 +00:00
parent bf9ceef777
commit 11ce675fac
608 changed files with 19504 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
DECLARE @SQL VARCHAR(MAX) = ''
SELECT
@SQL += 'DROP TABLE ' + QUOTENAME(s.name) + '.' + QUOTENAME(o.name) + ';' + CHAR(13)
FROM
sys.objects o
INNER JOIN sys.schemas s
ON o.schema_id = s.schema_id
WHERE
o.[type] = 'U'
PRINT @SQL
EXEC(@SQL)