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 -> trunc

trunc

From: G.H VITTAL <vittal_at_india.hp.com>
Date: Wed, 12 May 1999 17:53:26 +0530
Message-ID: <373972BE.CB63D362@india.hp.com>


Whenever we do date comparison I remember using trunc command
if i say

select to_char(trunc(date_field),'HH:MM:SS') from table1

I see only second portion is truncated. But i want to truncate the entire time portion i mean i should expect 00:00:00 as the result. How do i do this ?

regards
vittal Received on Wed May 12 1999 - 07:23:26 CDT

Original text of this message

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