GO is not a valid SQL statement.
GO is a "command" for "SQL server management studio" and few other tools to read and to execute. It is not for the SQL Server.
You do not need "GO" in the SQL statement. you need a ";".
from User Dennis Cheung - Stack Overflow http://stackoverflow.com/questions/31099822/com-microsoft-sqlserver-jdbc-sqlserverexception-incorrect-syntax-near-go/31100553#31100553