title: What is a "batch", and why is GO used?
body: <p>I have read and read over MSDN, etc.  Ok, so it signals the end of a batch.</p>
  
  <p>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.</p>
  
  <p>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)?</p>
  
  <p>For example why would I need GO after each update here:</p>
  
  <pre><code> UPDATE [Country]
     SET [CountryCode] = 'IL'
   WHERE code = 'IL'
  
   GO
  
   UPDATE [Country]
     SET [CountryCode] = 'PT'
   WHERE code = 'PT'
  </code></pre>