Viewing post 1 (of 1 total)
Ok for small db's but this is lightning quick and avoids cursors/looping...
select o.name, i.rows
from sys.sysobjects o with (nolock)
join sys.sysindexes i with (nolock)
on o.id = i.id
where i.indid < 2
order by i.rows...
January 29, 2009 at 2:10 pm
#935067