jenstirrup.com
Adventures in SQL: SP_MSFOREACHTABLE to find the largest table
When exploring a SQL Server database for the first time, it’s always useful to identify the most populated tables first because they are very likely to be the most important tables. To do this in a…