title: Parsing a SQL string in c#
body: <p>I have the need to Parse a <code>Command.CommandText</code>.</p>
  
  <p>I don't want to run the query. I only want to see if the query will succeed if the command was executed.</p>
  
  <p>Say i have; <code>"SELECT * FROM SomeTable WHERE (1=1)"</code></p>
  
  <p>This string will succeed.</p>
  
  <p>but,</p>
  
  <pre><code>"SELECT * FROM SomeTable WHERE (1=1"
  </code></pre>
  
  <p>will not succeed.</p>
  
  <p>Now my question. How would i <code>Parse</code> this string <code>c#</code>?</p>