Home Forums SQL Server 2005 Administering SQL Server job to delete old backups RE: SQL Server job to delete old backups
Joe Nakanishi-3
SSC Eights!
Points: 808
More actions
December 13, 2010 at 12:18 pm
#1261885
You can use xp_delete_file (http://sqlblog.com/blogs/andy_leonard/archive/2009/03/11/xp-delete-file.aspx) or you could write something using xp_cmdshell (assuming you have xp_cmdshell enabled).