title: How to list all dates between two dates
body: <p>I would like list dates between two date in a SQL Server stored procedure.</p>
  
  <p>For example:</p>
  
  <pre><code>Date1: 2015-05-28
  Date2: 2015-05-31
  </code></pre>
  
  <p>Results : </p>
  
  <pre><code>2015-05-29
  2015-05-30
  </code></pre>
  
  <p>How to calculate all dates between two given dates?</p>
  
  <p>Regards,</p>