title: List the days between two given dates
body: <p>I am working on a code like this </p>
  
  <pre><code>CREATE FUNCTION edw_devdb.test ( StartDate Date, EndDate Date)
       RETURNS DATE
       LANGUAGE SQL
       DETERMINISTIC
       CONTAINS SQL
       SPECIFIC test.myudf
       CALLED ON NULL INPUT
       SQL SECURITY DEFINER
       COLLATION INVOKER
       INLINE TYPE 1
       RETURN 
  SYS_CALENDAR.Calendar.calendar_date between StartDate and EndDate;
  </code></pre>
  
  <p>I need a function that returns the list of dates between two given dates in teradata. Can someone help me on this? Thank you in advance.</p>