Return count of all the rows of all the tables
exec sp_MSforeachtable 'select count(*) as nr_of_rows, ''?'' as table_name from ?'
This will show table name and sum of all the rows of that table
This will show table name and sum of all the rows of that table
Comments
Post a Comment