title: SQL Server : statistic of each database, How much each db is used
body: <p>I want statistic of each database in a SQL Server instance. </p>
  
  <p>For each database, I want to know how many triggers, stored procedures, etc.</p>
  
  <p>Maybe also link between databases.</p>
  
  <p>Any stat useful for migration, usage report, statistical development.</p>