title: Unique ID of the SQL Server Database
body: <p>There are many SQL Server databases created from the same <code>.BAK</code> file.
  I need to get the unique ID-value of each one. Getting UID of the DBfiles returns everywhere the same value.</p>
  
  <p>Different situation with Oracle. It has a unique ID of each DB service.</p>
  
  <p>Please, let me know what trick or method would be used in my case?
  It should be just one SQL query.</p>
  
  <p>Thanks.</p>