Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

707 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

12 Experts available now in Live!

Get 1:1 Help Now