Analyze Space Used for each Table

The following batchfile demonstrates how to use Windows command extension to extract the values of sp_spaceused for each table in the database. The output of sp_spaceused itself contains strings that do not get easily analyzed. The batch file extracts the numbers and outputs the sizes for each table in the database.Copy the batchfile to a […]

2002-02-18

2,257 reads

Blogs

Creating a New Sequence–#SQLNewBlogger

By

I wrote about sequences in an editorial recently and decided to start using them....

An All Star Lineup for EightKB

By

An online conference is coming on June 17, 2020 that is full of high...

How should I store currency values in SQL Server?

By

On Twitter, Michael Dyrynda writes: ?? Never ever ever ever ever ever ever ever...

Read the latest Blogs

Forums

Explanation of Page Splits

By stevec883

Q1 -- I have read quite a few articles on page splits and am...

(duplicate)

By stevec883

(sorry, this was a duplicate)

Script error

By sizal0234

I am trying to monitor the sql services on couple of instances and found...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers