Use AdventureWorks2012 go ;WITH Empty AS ( SELECT OBJECT_NAME(OBJECT_ID) [Table], SUM(row_count) [Records] FROM sys.dm_db_partition_stats WHERE index_id = 0 OR
Continue readingUse AdventureWorks2012 go ;WITH Empty AS ( SELECT OBJECT_NAME(OBJECT_ID) [Table], SUM(row_count) [Records] FROM sys.dm_db_partition_stats WHERE index_id = 0 OR
Continue reading