This commit is contained in:
Thierry Schork
2025-07-09 16:43:53 +02:00
parent b9cfbda6dc
commit 1975962f2d
9 changed files with 322 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ SELECT t.name AS TableName,
WHERE i.object_id > 255
-- AND i.index_id IN ( 0, 1 ) --0=heap, 1= clustered
AND t.name NOT LIKE 'dt%'
AND t.name LIKE 'archive[_]%'
AND [t].[is_ms_shipped] = 0
AND i.object_id > 255
GROUP BY t.name,