select object_name(ind.id) as TableName, ind.rows as RowCount
from sysindexes ind, sysobjects obj
where (ind.indid = 1 or ind.indid = 0)
and obj.id = ind.id
and obj.xtype = 'U'
order by object_name(ind.id)
You have to run DBCC UPDATEUSAGE corrects the rows, used, reserved, and dpages columns of the sysindexes table for tables and clustered indexes, otherwise, you may see inaccuracies.