select schema_name(t.schema_id) as [Schema], t.name as TableName,i.rows as [RowCount]
from sys.tables as t, sysindexes as i
where t.object_id = i.id and i.indid <=1
order by TableName
本站文章除注明转载/出处外,均为博主 spooking 原创或翻译,转载前请务必署名。
select schema_name(t.schema_id) as [Schema], t.name as TableName,i.rows as [RowCount]
from sys.tables as t, sysindexes as i
where t.object_id = i.id and i.indid <=1
order by TableName
本站文章除注明转载/出处外,均为博主 spooking 原创或翻译,转载前请务必署名。