title: Find the last time table was updated
body: <p>I want to retrieve the last time table was updated(insert,delete,update).</p>
  
  <p>I tried this query.</p>
  
  <pre><code>SELECT last_user_update
  FROM sys.dm_db_index_usage_stats
  WHERE object_id=object_id('T')
  </code></pre>
  
  <p>but the data there is not persisted across service restarts.</p>
  
  <p>I want to preserve the stats even if the service restarts. How can I achieve it?</p>