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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Strange behaviour with date fields

Re: Strange behaviour with date fields

From: Clemens Hoffmann <clemens.hoffmann_at_heeg.de>
Date: Thu, 15 Apr 1999 13:54:02 +0200
Message-ID: <7f4ft9$a5j$1@linus.heeg.de>


Hi,

thanks for the help, it got me on the right path.

> There are two ways to solve your problem I guess:
> a) trunc(stamp) = to_date('01.02.1999', 'dd.mm.yyyy')
> I'm not sure if trunc needs a nother parameter to specify the position of
> truncation

Actually the round function has to be used:

round(stamp) = to_date('01.02.1999', 'dd.mm.yyyy')

Now it works

Thanks

    Clemens Received on Thu Apr 15 1999 - 06:54:02 CDT

Original text of this message

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