I need to delete .txt files in a particular directory based on date. Can I do this through T-SQL?
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
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
5 years ago