Looping in SQL Server 2000 DTS
February 20th, 2006 // 5:24 pm @ Amar
While working on an assignment involving some complex data loading using DTS Packages, I came across the need to loop through all the files present in a directory and perform a set of tasks for each file and also handle errors on a per file basis.
I found this excellent article on sqldts.com which outlines a very simple yet effective way of condition based looping through dts tasks. Check it out here.
Category : SQL Server