This tutorial will show the SQL GO command in SQL Server, when to use it and some tips to use it.

Introduction

If you are using SQL Server and saw a GO command in a T-SQL script and you do not know what that GO is used for, this article is for you. In this article, we will explain what the SQL GO command is when to use it, and some tips about using it.

Some history about the SQL GO command

SQL Server was based on the Sybase database (an old database system deprecated in 2014). SQL Server started with several system procedures from Sybase and after some years, it changed a lot with new different features, but the GO statement was one of the main commands in Sybase inherited by SQL Server and it is still used today.

#t-sql #sql #database

SQL GO command in SQL Server
2.65 GEEK