Code
declare @d Nvarchar(64);
set @d = convert(varchar,dateadd(day,-5,getdate()),120);
EXECUTE master.dbo.xp_delete_file 0,N'D:\databack\GFSM',N'bak',@d;
EXECUTE master.dbo.xp_delete_file 0,N'D:\databack\GFSM_KEY',N'bak',@d
posted on
2009-02-05 13:19
edobnet
阅读(
1182)
评论()
编辑
收藏
举报