Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: All Dates
Hope this helps
select to_date('&1','ddmmyyyy') + rownum - 1 from table_with_more_rows_than_dates_required where rownum <= to_date('&2','ddmmyyyy') - to_date('&1','ddmmyyyy') + 1
Regards Trevor
Ganesh R wrote:
> Hi,
>
> I want to fetch all the dates btw. to given dates. This can be achived
> thru PL?SQL but i want to get it thru a Select Statement.
>
> Any Help
>
> Regards,
> Ganesh R
>
> --
> Regards,
> Ganesh R
>
> --
> Regards,
> Ganesh R
>
> --
> Regards,
> Ganesh R
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Sep 27 2000 - 07:55:12 CDT
![]() |
![]() |