Display Rows/Space Used by all user tables

This procedure will display the rows, reserved, data, index and unused space used in KB for all user tables in the database.  The idea is to call sp_spaceused repeatedly.  Limitation: certain versions of sp_spaceused will truncate the table name to 20 characters.Speed will depend on current activity level and locking in the database.  It will […]

2002-03-14

382 reads

Blogs

Reading a SharePoint List with Azure Logic App

By

Sometimes in life you have to do things you really don’t like to do....

T-SQL Tuesday #125 – Unit testing databases – we need to do this!!

By

Welcome to the first April edition of T-SQL Tuesday. I’m honoured to be hosting...

T-SQL Tuesday Live–7 Apr 2020

By

Last week went a little crazy, and I learned something: don’t post a Zoom...

Read the latest Blogs

Forums

Common schema in different Databases

By lfernigrini

Hi, I need to include a very simple schema in all of my database...

Permissions to Run CLR Assembly

By hawg

This is my first time dealing with CLR assemblies and we have setup some...

Convert date value

By pwalter83

Hi, I have a requirement to convert a date value like '7th March 2020' ...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers