title: Error with SqlCommand and multi-line comments
body: <p>I'm having a strange error using dotnet <code>SqlCommand</code>.</p>
  
  <p>Basically I'm executing a command text that has a multi-line comment with a <code>GO</code> in there ex:</p>
  
  <pre><code>/*IF OBJECT_ID ( 'dbo.xxx', 'P' ) IS NOT NULL 
  DROP PROCEDURE [dbo].[xxx]
  GO 
  */
  
  select * from dbo.abc
  </code></pre>
  
  <p>The error that I got was <strong>"Missing end comment mark '*/'"</strong></p>
  
  <p>I was able to narrow down the error and it seems that the problem is related with the <code>GO</code>. If I remove the <code>G</code>O It works.</p>
  
  <p>If I execute this command and watch the executed query in sql profile I get:</p>
  
  <pre><code>/*IF OBJECT_ID ( 'dbo.xxx', 'P' ) IS NOT NULL 
  DROP PROCEDURE [dbo].[xxx]
  </code></pre>
  
  <p>So part of the query wasn't executed... and end comment mark is missing</p>
  
  <p>I've search to see if anyone was having this problem as I've saw this post on msdn with a similar <code>GO</code> problem...</p>
  
  <p><a href="http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7e5ef20d-4b19-4930-9b1f-64304e6987e2/missing-end-comment-mark?forum=sqlreplication" rel="nofollow">http://social.msdn.microsoft.com/Forums/sqlserver/en-US/7e5ef20d-4b19-4930-9b1f-64304e6987e2/missing-end-comment-mark?forum=sqlreplication</a></p>
  
  <p>am I the only one with this problem? Is there a workaround?</p>