Remove the GO. It is not a T-SQL command, it's a batch-breaker for the client app (SSMS).
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability