Is it possible to write a query which returns a date for every day between two specified days?
Posted
by ninesided
on Stack Overflow
See other posts from Stack Overflow
or by ninesided
Published on 2010-04-01T08:40:25Z
Indexed on
2010/04/01
8:43 UTC
Read the original article
Hit count: 321
Basically, the question says it all. I need a PL\SQL query that returns a list of dates between two dates such that for 01-JAN-2010 to 20-JAN-2010 I would get 20 rows returned:
the_date
--------
01-JAN-2010
02-JAN-2010
03-JAN-2010
04-JAN-2010
...
20-JAN-2010
© Stack Overflow or respective owner