Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete old back up files from SQL command

Status
Not open for further replies.

dhulbert

Technical User
Jun 26, 2003
1,136
GB
My backup routine creates a new backup file each day and adds all the incremental backups to that file. Then next day new file etc, It's all very tidy and easy to administer but I want to delete the old files automatically from the same SQL script.

How do I delete files on a disk where they are over a certain age

Any help appreciated thanks.

I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top