VergeResources
Programmer
I'm trying to come up with a way to return back a series of dates. For example, I am trying to return a separate record for each of the last x days:
DATE
-----
2004-07-15
2004-07-14
2004-07-13
...
If I could just come up with a statement that returns an incrementing sequence of numbers, I could use it to build dates (SYSDATE - x DAYS or some such logic). I just can't think of a way to return a list of numbers. Any ideas?
DATE
-----
2004-07-15
2004-07-14
2004-07-13
...
If I could just come up with a statement that returns an incrementing sequence of numbers, I could use it to build dates (SYSDATE - x DAYS or some such logic). I just can't think of a way to return a list of numbers. Any ideas?