title: Create database if it doesn't already exist
body: <p>I have a strange problem here; as I searched through the internet, including StackOverflow, the best, simpliest and fastest way to create data base only when such does not exists is using the following SQL query:</p>
  
  <pre><code>CREATE DATABASE IF NOT EXISTS DataBase1
  </code></pre>
  
  <p>However, when I parse this statement in my C# code I get this error:</p>
  
  <p><em>Incorrect syntax near the keyword 'IF'. Incorrect syntax near 'DataBase1'.</em></p>
  
  <p>The same happens when I try to execute the query in SSMS; I get:</p>
  
  <pre><code>Msg 156, Level 15, State 1, Line 1
  Incorrect syntax near the keyword 'IF'.
  Msg 102, Level 15, State 1, Line 1
  Incorrect syntax near 'DataBase1'.
  </code></pre>
  
  <p>Can you tell me what am I doing wrong?</p>