Solved

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

Posted on 2006-11-19
3
187 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

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

776 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