Here's a little script to tell you how many rows you have per table in a 2005 database.Nothing fancy, but I found it useful. declare @t table (partition_number int not null, name sysname not null, rows bigint not null)insert @tselect i.partition_number ,o.name ,i.rowsfrom sys.partitions ijoin sys.objects o on i.object_id=o.object_idwhere o.type='U' and index_id IN (0, 1)select * from ( select null as partition_number, 'TOTAL' as name, sum(rows) as rows from @t union all select * from @t) a order by 1, 3 desc
elsasoft.org