T-SQL GO Statement

Posted by coffeeaddict on Stack Overflow See other posts from Stack Overflow or by coffeeaddict
Published on 2010-04-19T15:11:26Z Indexed on 2010/04/19 15:13 UTC
Read the original article Hit count: 293

Filed under:

I have read and read over MSDN, etc. Ok, so it signals the end of a batch.

What defines a batch? I don't see why I need go when I'm pasting in a bunch of scripts to be run all at the same time.

I've never understood GO. Can anyone explain this better and when I need to use it (after how many or what type of transactions)?

© Stack Overflow or respective owner

Related posts about tsql