DenyTranDFW's picture
Upload 21 files
81a0350 verified
raw
history blame contribute delete
519 Bytes
SELECT
" t.NAME AS TableName,"
p.rows AS RowCounts
FROM
sys.tables t
INNER JOIN
sys.indexes i ON t.OBJECT_ID = i.object_id
INNER JOIN
sys.partitions p ON i.object_id = p.OBJECT_ID AND i.index_id = p.index_id
WHERE
t.schema_id = SCHEMA_ID('dbo') AND
i.index_id < 2
ORDER BY
t.NAME
TableName RowCounts
cal 31284301
dates 218786
ddate 804
dim 21299326
fsnds 552
num 328405295
pre 229500266
ren 20760217
sub 634310
tag 38168186
txt 39230531