Why there is "GO" after USE db" in T-SQL examples?

Posted by Petr on Stack Overflow See other posts from Stack Overflow or by Petr
Published on 2010-05-31T10:16:01Z Indexed on 2010/05/31 10:23 UTC
Read the original article Hit count: 181

Filed under:
|

Hi, Looking at the msdn, there was an example on "GO" command. Why there is:

USE somedb
GO
...
...

It it neccesary to select db in different batch? Thanks for explanation!

© Stack Overflow or respective owner

Related posts about sql

Related posts about mssql