Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to generate a list of dates between two dates?

Re: How to generate a list of dates between two dates?

From: Michael Rothwell <marothwell_at_yahoo.com>
Date: Tue, 11 Jan 2000 09:33:32 -0800
Message-ID: <387B696C.DA7B6326@yahoo.com>


Ok, I had to run this query just to see what it did.

It does indeed return a list of dates for the next 100 days. But How does it do it. This makes no sense to me.

Vincent Wittlin wrote:

> Try This :
>
> Select sysdate + Rownum from cat,cat,cat
> where rownum <= 100;
>
> Michael Keppler <Michael.Keppler_at_gmx.de> a écrit dans le message :
> 85fjn5$b6s_at_TGZ3...
> > Hi everybody !
> >
> > For a query I need all (possible) dates between two given dates. Is
> > there a simple query to generate all of them ? Or do I have to use a
> > table with all the dates in it?
> >
> > Ciao and Thanks, Michael.
> >
> > --
> > Michael Keppler, MCSE, MCP+I
> > IT logic GbR
> > Michael.Keppler_at_gmx.de
> >
> >
> >
Received on Tue Jan 11 2000 - 11:33:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US