mtassin (12/4/2012)
I get this if I run the script.Msg 102, Level 15, State 1, Line 8
Incorrect syntax near 'GO'.
If I remove the semi-colon from the GO, it works.
BLAH! Why can't I ever read question writers minds?
Too often the surprise questions leave me sitting there going... did he mean for the ; to throw the error or not.
Obviously now it's that he didn't mean for that. Of course I had to guess which way his devious mind was going.
Steve should at least fix the question for the later comers.