aaron.reese (10/22/2013)
Also, I am not sure that you can change the value of a variable within the script unless you have it locked for write.
I never lock variables. Never ran into an issue either.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP