Wednesday, 30 March 2011

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

No comments:

Post a Comment