Jason Givens

Get Table Sizes and Percent of Database Size

This script uses two undocumented stored procedures that retrieve all tables in the database in which it is run and lists the data and index sizes, the sum of these sizes, and the table's size percentage of the entire database. The results are presented in descending order of the sum of the data and index […]

5 (1)

2004-11-24 (first published: )

1,708 reads

Find Instances of a Column Name

This script will allow you to find all instances of a column name, or partial column name, in all user tables in the database in which it is run.  This is sometimes helpful during upgrades, etc.  There is no error checking in this script.  You can modify it to add, if needed.Run this by simply […]

5 (1)

2004-06-21

150 reads

Blogs

[MSSQLTips] Visual Studio 2019 Configuration for the Production DBA

By

Happy Tuesday everyone… Today I am honored to have my first article published on...

Daily Coping 22 Sep 2020

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Converting a Datetime to UTC

By

I was in a need of converting some datetime values (of which I know...

Read the latest Blogs

Forums

SCOM/SCCM alert when Always On High Availability dashboard is green

By webrunner

Hello experts, Does anyone know why SCOM (or is it SCCM?) would send the...

Restart SQL server from CMD

By SQLAddict01

We have a issue in SQL Server 2017 (RTM-CU21) with SSISDB when a server...

Replication issue

By premkuttan

my table is getting replicated from server 1 to server 2. I got a...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers