Solved

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

Posted on 2006-11-19
3
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

691 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