Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: sysdate
hi paul,
thanks for the statement it really helped a lot.
varma.
--- Paul van Dijken <paul.vandijken_at_sema.nl> wrote:
> After setting the NLS_DATE FORMAT to DD-MON-YYYY
> HH24:MI:SS, try this:
>
> select sysdate a, (sysdate - 1/(24*60*60)) b from
> dual;
> A B
> -------------------- --------------------
> 24-OCT-2000 16:54:46 24-OCT-2000 16:54:45
>
> Paul
>
> -----Original Message-----
> Sent: 24 October 2000 16:50
> To: Multiple recipients of list ORACLE-L
>
>
> Hi guys,
>
> How do we update a field with sysdate - 1 second.
> say for example we have 23-oct-00 09:30:09
> how can we get 23-oct-oo 09:30:08
>
> Varma.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf! It's FREE.
> http://im.yahoo.com/
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Poosapati Varma
> INET: psgkv_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>