Added new scripts and changes

This commit is contained in:
2024-12-24 15:33:41 +01:00
parent a0c7d14a63
commit 9052475370
18 changed files with 11313 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ SELECT t.name AS TableName,
LEFT OUTER JOIN sys.schemas s
ON t.schema_id = s.schema_id
WHERE i.object_id > 255
AND i.index_id IN ( 0, 1 )
-- AND i.index_id IN ( 0, 1 ) --0=heap, 1= clustered
AND t.name NOT LIKE 'dt%'
AND [t].[is_ms_shipped] = 0
AND i.object_id > 255