I have a T-SQL script that is almost 1,100 lines of code that is acting strangely.
It has 19 "steps" and if you copy and paste the code into a query window in SSMS, it runs perfectly.
But if you add a link to the script in an SSIS connection and run it from an Execute SQL task, it runs steps 1 to 12, skips 13 to 18, then runs step 19.
The code is not commented out and there are no GOTO's or other flow control statements that I see.
Any of the veterans here have any ideas or suggestions?
Thanks,
Brooks
It has 19 "steps" and if you copy and paste the code into a query window in SSMS, it runs perfectly.
But if you add a link to the script in an SSIS connection and run it from an Execute SQL task, it runs steps 1 to 12, skips 13 to 18, then runs step 19.
The code is not commented out and there are no GOTO's or other flow control statements that I see.
Any of the veterans here have any ideas or suggestions?
Thanks,
Brooks