SQL Database Concepts Question:

Please explain GO Command in SQL Server?

Basic SQL Server Interview Question
Basic SQL Server Interview Question

Answer:

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


Previous QuestionNext Question
Do you know what is difference between stored procedure and user defined function?Do you know what are ACID properties of Transaction?