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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql question

Re: sql question

From: Chris Stephens <cstephens16_at_gmail.com>
Date: Fri, 21 Apr 2006 08:53:30 -0400
Message-ID: <d95e86070604210553t38845d4ew42d236ee67f58519@mail.gmail.com>


yeah...that works this year. the whole point is to not have to maintain a list of years up to the current year to infinity and beyond.

On 4/20/06, Mladen Gogala <gogala_at_sbcglobal.net> wrote:
> select '1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006' from dual;
>
> On 04/20/2006 04:40:44 PM, Chris Stephens wrote:
> > Can anyone think of a way to generate a list of years from say 1995 to
> > the current year in straight sql?
> >
> >
> > chris
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
> >
> >
>
> --
> Mladen Gogala
> http://www.mgogala.com
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Apr 21 2006 - 07:53:30 CDT

Original text of this message

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