Viewing 2 posts - 1 through 2 (of 2 total)
Well, you are missing the '@' for email parameter for the second insert.
And I am not sure why @emailtable is defined in the procedure and you are using "select...
November 3, 2011 at 3:37 pm
#1402966
The execution of update statements are not evaluated left to right but as a batch after computations are complete which allows for them to be swapped.
December 29, 2010 at 8:16 pm
#1267509