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 AND i.rows>0 order by t.name asc
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 AND i.rows>0 order by t.name asc