title: Display List of Dates from Start and End Date in SQL
body: <p>I need display a list of dates in SQL. Already I have an input with single row for n number codes.</p>
  
  <p>Present Table Structure (dates in day/month/year format):</p>
  
  <pre><code>Code FromDate   ToDate     Total Days
  
  1    01/03/2012 04/03/2012   4
  2    01/04/2012 05/04/2012   5
  </code></pre>
  
  <p>I need output as:</p>
  
  <pre><code>Code FromDate
  
  1    01/03/2012
  1    02/03/2012
  1    03/03/2012
  1    04/03/2012
  </code></pre>