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: Date and DateTime columns

Re: Date and DateTime columns

From: Dag Arne Matre <dag-arne_at_matreweb.com.antispam>
Date: Wed, 9 Jan 2002 10:00:42 +0100
Message-ID: <PAT_7.24169$KQ3.444880@news1.oke.nextra.no>


> How do others handle this situation?
>

We go with "the other fraction" (two domains in our modelling tool): CREATE TABLE EXAMPLE (
  XXX_TS DATE,
  XXX_DT DATE CHECK (XXX_DT = TRUNC(XXX_DT)) )

The main reason for this is that _our_ definition of "Date Only" says it should not contain any time fraction. Other reasons for this includes cleaner SQL, use of indexes, etc.

My $.02... Received on Wed Jan 09 2002 - 03:00:42 CST

Original text of this message

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