Row Count Per Table

SELECT t.name TableName, i.rows Records
FROM sysobjects t, sysindexes i
WHERE t.xtype = 'U' AND i.id = t.id AND i.indid in (0,1)
ORDER BY Records DESC;

This page was last edited on 2026-03-31 11:41

Powered by Wiki|Docs

This page was last edited on 2026-03-31 11:41

Bjørn Singer
Private wiki!

Powered by Wiki|Docs