Explain GO Command

Explain GO Command.

GO command indicates the end of the SQL statements. It is used when there are multiple statements to be executed but sent as a batch.

Example:
SELECT * FROM table1 INNER JOIN table2 ON table1.c1 = table2.c1 WHERE table1.c1 > 10 ORDER BY table1.c1

GO

Explain GO Command.

Go command is a signal to execute the entire batch of SQL statements after previous Go

Explain GO Command.

GO Command is used to signal the end of a batch.
Significance of NULL value and why should we avoid permitting null values
SQL Server NULL values - Null means no entry has been made. It implies that the value is either unknown or undefined........
Difference between UNION and UNION ALL
What is the difference between UNION and UNION ALL? - UNION command selects distinct and related information from two tables. On the other hand.....
SQL Server - What is Log Shipping?
What is Log Shipping? - Log shipping enables high availability of database.....
Post your comment