← BYTES
SQL Server·Starter·Ref: 26.1.9

In SQL Server Management Studio (SSMS), what does the GO keyword do?

Have a question about this video? Mention reference 26.1.9 when you contact us.

a.Commits the current transaction
b.Signals the end of a batch of T-SQL statements to be sent to the server together
c.Starts a new database
d.Deletes all rows in a table
GO is a batch separator recognized by SSMS/sqlcmd (not a T-SQL keyword itself) that tells the client tool to send everything since the last GO as one batch.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES2619#SQLServer