Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Hari Sharma,
HOW To USE:
1. If you want all the user tables in the database with largest db size then:
EXEC sp_LargestTables [No Need to pass parameters]
2. If you want only 3 tables in the database with largest db size then:
EXEC sp_LargestTables 3
3. If you want only 20 tables in the database with largest db size including system tables then:
EXEC sp_LargestTables 20,1
I once wrote a post to find the largest tables in a database, and now after studying PowerShell, I f...
Comments posted to this topic are about the item [B]Find Largest size Tables in a Database[/B] I tri...
From time to time, I need to find the largest tables in terms of rows / used space / total space etc...
What is the largest database any of you have ever replicated?
Sr. SQL Server DBA
It's not for me, but who out there wants to work on the largest database? The NSA is collecting ...