Hi All,I need to execute 300 .sql scripts from a directory. They are named like:10001.name110002.name2...10010.name1010011.name11...and they are listed in this order in the directory.I run ssis package with For each loop contaner and an Execute Sql task inside the container. It works fine except it does not execute the scripts in the desired order. It first executes 10001.name1 then 10010.name10, then 100101.name101 and when will reach 100199.name199 then it executes 10002.name2Then I run a .bat file to execute the scripts - and the same order of execution.Some of the scripts fail because they depend on some others.Can someone tell me if this is possible to achieve and how? or to propose another approach...ThanksIgorMi
↧