Home Forums SQL Server 2005 T-SQL (SS2K5) Delete files olde than 48 hours based on filename, not date modified. RE: Delete files olde than 48 hours based on filename, not date modified.

  • I agree with the posts that say you should use a programming language to do this. But if you don't have programming software and have to use SQL Server 05 and you have SSIS at your disposal (ships with SQL 05), then I'd use this tool to do this. It's meant for it and probably only take 3 or 4 SSIS tasks to do what you need to do.

    You can also deploy your SSIS package to a server and schedule a job to run this every hour as well.

    Thanks,

    Strick