Here's a handy little script that we keep in the "useful scripts" folder at work. I used it earlier today to do a quick check if certain tables were being filled with data.

select o.name, rows
from sysobjects o inner join sysindexes i on o.id = i.id
where i.indid < 2 and xtype='u' and o.name not in ('dtproperties')
order by o.name

Much easier than writing select count(*) from tbl for every table I'm interested in.

Posted by: Benjamin Felt