title: SQL Server 2008: How to query all databases sizes?
body: <p>I have MS SQL 2008 R2, 500 databases.
  What is the most efficient, easiest and 'modern' way to query all databases sizes.</p>
  
  <p>The output should have columns:</p>
  
  <ul>
  <li>DatabaseName</li>
  <li>DataFilesSize</li>
  <li>LogFilesSize</li>
  </ul>