So as the title says i need a query that finds the table that contains most rows in my database.
I can show all my tables with this query:
select * from sys.tables
Or:
select *
from sysobjects
where xtype = 'U'
order by name
And all the indexes with this query:
select *
from sys.indexes
But how do i show the columns with most rows in the whole database?
Kind regards, Chris