SQL Server – Count table rows for all databases using sp_MSforeachdb and sp_MSforeachtable
This post is inspired from one of other post in SQL Server Geeks by Ahmad Osama. https://www.sqlservergeeks.com/sql-server-sp_spaceused-returns-wrong-count/ I would like to extend some of my ideas further to get the table …
SQL Server – Count table rows for all databases using sp_MSforeachdb and sp_MSforeachtable Read More