title: Conditional compilation in database project
body: <p>I have a vs 2010 database project with two postdeployment scripts (InitData and TestData). I want to execute TestData only if DEBUG compilation constant exists, so Script.PostDeployment.sql script would look something like this:</p>
  
  <pre><code>:r .\InitData.sql
  #if DEBUG
  :r .\TestData.sql
  #endif
  </code></pre>
  
  <p>But doing that I get a compilation error <code>Incorrect syntax near '#if'</code> , is there any way to achieve this?</p>