Search code examples
sql-servert-sqlssms

What is the use of GO in SQL Server Management Studio & Transact SQL?


SQL Server Management Studio always inserts a GO command when I create a query using the right click "Script As" menu. Why? What does GO actually do?


Solution

  • It is a batch terminator, you can however change it to whatever you want alt text