SQL Server xp_delete_file not deleting files

前端 未结 8 1809
孤城傲影
孤城傲影 2020-12-15 08:47

I\'m trying to write some SQL that will delete files of type \'.7z\' that are older than 7 days.

Here\'s what I\'ve got that\'s not working:

DECLARE         


        
8条回答
  •  半阙折子戏
    2020-12-15 09:24

    Try changing the first parameter from 0 to 1.

    Here is a small summary on xp_delete_file I just found. Sounds a bit like you'd be out of luck with this procedure.

提交回复
热议问题