SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Find Largest size Tables in a Database

By Hari Sharma, 2008/09/01

Total article views: 1475 | Views in the last 30 days: 30

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

By Hari Sharma, 2008/09/01

Total article views: 1475 | Views in the last 30 days: 30
Your response
 
 
Related tags
 
 
Contribute
Like this? Try these...

udf_is_database_available

(not yet rated) | 568 reads

sp_desc

By Sergey Benner | Category: T-SQL
| 966 reads

Queries, Plans, and Indexes

By ericzbeard | Category: query plan
(not yet rated) | 779 reads

Free registration required...

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Login (existing users)

Login

Email:   Password:   Remember me: Forgotten your password?

Register (new users)

Register

Email:   Password:
Confirm:

Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

Steve Jones
Editor, SQLServerCentral.com