I would like to make sure that a series of commands are executed in a serial way, like in
update TABLE1...
update TABLE2...
update TABLE3...
I would like that update TABLE2
starts only when update TABLE1
has completed.
Of course I can do this with GO:
update TABLE1...
GO
update TABLE2...
GO
update TABLE3...
GO
But in this case i will lose all the local variables.
Is there an easy way to perform what I need? Thanks.