title: SqlException: Syntax Error Near 'GO'
body: <p>I am having trouble sending a SQL statement through a DbContext using <code>context.Database.ExecuteSqlCommand()</code>.</p>
  
  <p>I am trying to execute </p>
  
  <pre><code>CREATE TABLE Phones([Id] [uniqueidentifier] NOT NULL PRIMARY KEY,
      [Number] [int],[PhoneTypeId] [int])
  GO
  ALTER TABLE [dbo].[Phones] ADD  CONSTRAINT [DF_Phones_Id]  
      DEFAULT (newid()) FOR [Id]
  GO
  </code></pre>
  
  <p>This fails with the error string</p>
  
  <pre><code>Incorrect syntax near the keyword 'ALTER'.
  Incorrect syntax near 'GO'.
  </code></pre>
  
  <p>However running that exact statement in SSMS runs without errors?  Any issues I need to resolve regarding the default constraint throught the DbContext.  I have see problems with people using constraints and not having IsDbGenerated set to true.  I am not sure how that would apply here though.</p>