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: how to store time with milliseconds in Oracle ?

Re: how to store time with milliseconds in Oracle ?

From: Jeremy Russell <jrinusa_at_gte.net>
Date: Fri, 10 Jul 1998 11:49:25 GMT
Message-ID: <6o4v2r$btu$2@news-1.news.gte.net>


The Oracle date format *always* stores DD:MM:YY:HH:MM:SS.SSSSS - use a format mask to present the data in the format that you want. For example:

SELECT to_char(SYSDATE,'HH:MM:SS.SSSSS') FROM dual;

Hope that helps.

Jeremy

"Alain PIERRE" <Groeps_at_mail.interpac.be> wrote:

>Hi,
>
>I have to store time HH:MM:SS + milliseconds in Oracle.
>Is there an easy way to do this ? No date format seems to support that.
>DATE is 7-byte fixed
>
>Patrick Wtterwulghe
>Oracle DBA
>Groupe-S
Received on Fri Jul 10 1998 - 06:49:25 CDT

Original text of this message

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