Delete old backup files

A stored procedure and two functions that given a path, a date and a file extension will do one of the following:-Delete all files of the supplied extension in that directory before a certain date.-Delete everything before the last full backup.I use this because disk space is tight and maintenance plans seem to delete old […]

2003-08-21

688 reads

Blogs

Storage Tiers What SQL Server DBAs Need to Know

By

“One Gerbil, Two Gerbils or Three Gerbils?” is a common DBA joke about server...

What is the CONTROL permission?

By

One of the most powerful permissions available in SQL Server is control. But what...

Daily Coping 19 Jan 2021

By

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

Read the latest Blogs

Forums

Get local server's alias in T-SQL

By schleep

Hello, I'm trying to get the server name programmatically. Even after I do this:...

Get local server's alias in T-SQL

By schleep

Hello, I'm trying to determine if there's a way to get a server's alias...

Issues with multiple SSAS tabular instances on same server

By rnguyen11

I have created a second instance of a tabular server on the same server...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers