Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Adding days in Oracle 8.1.x
If the column is a date then just +1 to add 1 day. eg
select myDate+1 from mytab ...
Jim
"Tom Miskiewicz" <miskiewicz2_at_yahoo.com> wrote in message
news:bneind$2is$1_at_news.gatel.net...
> Hi!
>
> The following statement seems to work:
>
> select to_date('31.10.2003','DD MM YYYY')+1 from dual;
>
> In my environment I will replace the 31.10.2003 with a variable. Is this
way
> of doing it ok, or are there alternatives?
>
>
> Thanks
> Tom
>
>
Received on Sat Oct 25 2003 - 16:06:44 CDT