SQL Server – SQL Utility Command GO

GO is not a Transact-SQL statement, even it used in the Transact-SQL. It is a SQL Utility command.  SQL Server utilities interpret GO as a signal that they should send the current batch of Transact-SQL statements to an instance of SQL Server. The current batch of statements is composed of all statements entered since the last GO, or since the start of the ad hoc session or script if this is the first GO.  A Transact-SQL statement cannot occupy the

» Read more