Last active
September 15, 2017 12:42
-
-
Save hendrysuwanda/d4bc30efb9e3231a3c2c66b3b703b643 to your computer and use it in GitHub Desktop.
how to generating dates between two date ranges (ex: from 20-Mar-2015 until 20-Apr-2015)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select to_date('20032015','ddMMyyyy') + rownum -1 price_date | |
from all_objects | |
where rownum <= to_date('20042015','ddMMyyyy')-to_date('20032015','ddMMyyyy')+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment