title: How to get all date between two column date(fromDate and toDate). And that obtained date must be in single row separated by comma
body: <pre><code>LeaveTypeID   FromDate                  ToDate
  1            2020-09-12 00:00:00.000    2020-09-15 00:00:00.000
  </code></pre>
  <p>From the above table i need all date between FromDate and ToDate. I am expecting the output like below. And i using sql serve 2019.</p>
  <pre><code>Date
  2020-09-12,2020-09-13,2020-09-14,2020-09-15 
  </code></pre>