Technical Article

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 […]

You rated this post out of 5. Change rating

2002-02-18

2,274 reads

Blogs

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Enabling an Index: #SQLNewBlogger

By

I don’t do a lot of work with disabled index, but I learned how...

Back to Boston for SQL Saturday

By

I’m leaving again tomorrow for a trip. This time I head back to Boston...

Read the latest Blogs

Forums

How are statistics stored?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item How are statistics stored?

Where's the Printer Friendly Option?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Where's the Printer Friendly Option?

Switch from MSSQL SVC to MSA - Unable to start services

By sunilgk595@gmail.com

Using MSSQL 2019 standard edition It was installed using SVC Account. But now I...

Visit the forum

Question of the Day

How are statistics stored?

How are the statistics for query optimization stored in SQL Server?

See possible answers