title: Are SQL Server Database Ids always positive?
body: <p>Are SQL Server database Ids always positive?</p>
  
  <p>As in the dbid from sysdatabases.</p>
  
  <pre><code>SELECT name, dbid 
    FROM master.dbo.sysdatabases
  </code></pre>
  
  <p>This question has nothing to do with identity columns or primary keys.</p>