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

Home -> Community -> Usenet -> c.d.o.server -> Re: Milliseconds and DATE field

Re: Milliseconds and DATE field

From: Gerald Winslow <winslow_at_intermetrics.com>
Date: Thu, 16 Dec 1999 21:06:48 GMT
Message-ID: <FMuqp8.9B5.0.-s@inmet.camb.inmet.com>


Kim, If I'm not mistaken the built-in function SYSDATE (which returns the current date and time) incorporates milliseconds automatically. So, if you're wanting to save milliseconds and your column type is DATE, then just do this:

INSERT INTO table VALUES (..., SYSDATE, ...);

Gerald Winslow

"Kim Hellan" <khe_at_NOSPAMkmd.dk> wrote in message news:83297r$abt$1_at_news1.tele.dk...
> Does the DATE field in Oracle8 support milliseconds ?
>
> If yes, how do I use SQL to INSERT a record with a date/time value in the
> format 'YYYY-MM-DD hh:mm:ss:uuu', where uuu is the milliseconds ?
>
> If no, is there another field type that supports milliseconds (like the
> DateTime field in an MS SQL Server) ?
>
> TIA
> Kim Hellan
>
>
Received on Thu Dec 16 1999 - 15:06:48 CST

Original text of this message

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