By default GO is the batch separator in SQL Server. GO is not a Transact SQL statement. It is a command recognized by SQL server as batch separator. You can change the batch separator (GO) in SQL server.
Follow below Steps to change the batch separator in SSMS:
- Start SSMS
- Go to Tools –> Options
- Click on the “Query Execution” node
- Notice that we have an option to change the Batch Separator
- Change the batch separator
- Click “OK”