Hi,
I have a maintenance plan that's set to delete bak files older than 3 days. Here's the t-sql:
EXECUTE master.dbo.xp_delete_file 0,N'C:\MSSQL\BACKUP',N'bak',N'2007-11-10T07:34:36'
However, when I ran this today from mgmt studio, it did not delete anything from the directory, even though it said "successful" nor does it work from the job.
Haven't had this problem before on any other servers.
??
Thanks
I have a maintenance plan that's set to delete bak files older than 3 days. Here's the t-sql:
EXECUTE master.dbo.xp_delete_file 0,N'C:\MSSQL\BACKUP',N'bak',N'2007-11-10T07:34:36'
However, when I ran this today from mgmt studio, it did not delete anything from the directory, even though it said "successful" nor does it work from the job.
Haven't had this problem before on any other servers.
??
Thanks