You know that specifying a number after GO statement will execute the above statement by as many number as specified in it.
select 1 go 2
As you see you will get two result sets with value 1
But when you put semicolon after go 2
select 1 go 2;
You get the following error
A fatal scripting error occurred. Incorrect syntax was encountered while parsing go.
Why does it give error?