1

I need to delete .txt files in a particular directory based on date. Can I do this through T-SQL?

splattne
  • 28,508
  • 20
  • 98
  • 148
SuperCoolMoss
  • 1,262
  • 11
  • 20

1 Answers1

0

Here is an article with instructions for:

  • How to delete a file using xp_cmdshell extended procedure

  • How to delete a file using OLE Automation Procedures

Dennis Williamson
  • 62,149
  • 16
  • 116
  • 151