title: azure sql DB_ID doesn't work
body: <p>I have created manually a database called <code>SnapshotsDb</code> in <strong>Azure</strong> Sql Server via SSMS.</p>
  
  <p>Trying to get the ID of the <code>SnapshotsDb</code> using <code>DB_ID()</code> function:</p>
  
  <pre><code>DECLARE @db_id int;  
  SET @db_id = DB_ID(N'SnapshotsDb')
  PRINT @db_id
  </code></pre>
  
  <p>Not output</p>
  
  <p>If I try same logic on a local instance of sql server, it does return an int which matches the ID of the database.</p>