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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Timestamp vs. Date Datatype

Re: Timestamp vs. Date Datatype

From: Dennis Williams <oracledba.williams_at_gmail.com>
Date: Wed, 5 Oct 2005 08:34:33 -0500
Message-ID: <de807caa0510050634w17ec0764h2630a7caeb73111a@mail.gmail.com>


Tracy,

I'm not privy to Oracle's decisions, so the best I can do is guess:
> Why did Oracle introduce the timestamp datatype vs. enhancing the date
> datatype's precision?

     Backward compatability?
>Is everyone migrating to the timestamp datatype?

     No
>Why would anyone want to use the date datatype anymore?

     Often only the date is significant. In that situation, don't store the timestamp.

     Indexing date-only date fields is much more efficient.
> It appears to me that the timestamp does everything that the date datatype does and more.

     You are correct. However, I haven't had a situation where subsecond information was relevant.
>The granularity and computations that can be performed with the timestamp
> datatype appear to be much better.
> Thanks

     Thank you for raising this important topic.

Dennis Williams

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 05 2005 - 08:37:28 CDT

Original text of this message

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