title: Get days from current timestamp in SQL query
body: <p>I have a table:</p>
  <pre><code>ID      Timestamp
  1       2010-07-27 13:14:00.000
  2       2010-08-13 13:14:00.000
  3       2010-12-21 13:14:00.000
  </code></pre>
  <p>Now I need to subtract the day from Timestamp column with current <code>getdate()</code> and get the days from it.</p>