Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: sql question
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-lReceived on Fri Apr 21 2006 - 07:53:30 CDT