Technical Article

Drop Statistics

This procedure was created to automate the dropping of statistics on a user specified table.  Very simple code, but handy if the need is there.Replace 'tablename' throughout script with the name of the table intended to temporarily house the statistics name(s).

You rated this post out of 5. Change rating

2002-11-01

1,027 reads

Blogs

Becoming Kristyna Ferris <3

By

Hey folks, fun personal post today. A few weeks ago, I got married! My...

What I Love About My Job

By

In June this year I took redundancy from the company I’d worked at for...

TryHackMe Advent of Cyber

By

I posted that I was thinking about the AdventOfCode this year, but wasn’t sure...

Read the latest Blogs

Forums

STUFF Command Not Working

By AMCiti

I am trying to use the STUFF command, however, the column using the STUFF...

SQL Replication - Disconnected from Azure Storage with OS result code: 0

By DanielP

Hello, We had a few errors with replication for SQL Managed Instance stopped working...

Provider not found in SSMS

By cphite

I am trying to setup a linked server and per the documentation it needs...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers