Solved

Looking for a method on how to get the table spaced used

Posted on 2006-11-19
3
180 Views
Last Modified: 2006-11-23
Dear all,

I'm using SQL Server 2000 and now I'm looking for any method / tools that can retreive the physical space used of every single table.  Please kindly advise.

Regards,
0
Comment
Question by:towo2002
  • 2
3 Comments
 
LVL 9

Expert Comment

by:dduser
ID: 17977337
Exec sp_spaceused  <<TableName>>

Regards,

dduser
0
 
LVL 9

Expert Comment

by:dduser
ID: 17977340
This is Procedure available in SQL SERVER, run this via Query Analyzer...

Regards,

dduser
0
 
LVL 28

Accepted Solution

by:
imran_fast earned 250 total points
ID: 17977405
SPACE USED BY EACH TABLE
============================
exec sp_MsForEachTable "Sp_SpaceUsed '?'"


Regards

Imran
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Calculate values in an array 18 35
Sql Join Problem 2 32
ms sql last 8 weeks as columns 5 28
sql query questions 2 24
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now