Hi all !
Im trying to generate a date column with a range of dates from two columns:
Table I have (date format (mm/dd/yyyy) )
Id start_date end_date field1
1 01/01/2019 07/01/2019 text1
1 07/01/2019 12/01/2019 text2
2 01/01/2019 02/01/2019 text3
The idea is to generate a list of dates between start and end date with an interval of 1 month.
Output Table :
Id date field1
1 01/01/2019 text1
1 02/01/2019 text1
1 03/01/2019 text1
1 04/01/2019 text1
1 05/01/2019 text1
1 06/01/2019 text1
1 07/01/2019 text2
1 10/01/2019 text2
1 11/01/2019 text2
1 12/01/2019 text2
2 01/01/2019 text3
2 02/01/2019 text2
Any idea how could I get this ?
Appreciate the help! Thanks