SuperCoolMoss Asked: 2010-02-17 00:55:41 +0800 CST2010-02-17 00:55:41 +0800 CST 2010-02-17 00:55:41 +0800 CST Deleting text files based on date through SQL Server T-SQL 772 I need to delete .txt files in a particular directory based on date. Can I do this through T-SQL? sql-server tsql 1 Answers Voted Best Answer Dennis Williamson 2010-02-17T02:18:39+08:002010-02-17T02:18:39+08:00 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
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