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: how to trunc date column to half an hour

Re: how to trunc date column to half an hour

From: Derya Oktay <deryaoktay_at_gmail.com>
Date: Wed, 7 Mar 2007 09:47:24 +0200
Message-ID: <35ca1e480703062347g170ca633m1e795ef92b304c2a@mail.gmail.com>


Hi,
I need to use this function in group by clause, thus I will prefer using trunc(sysdate) + trunc(to_number(to_char(sysdate, 'SSSSS'))/1800)/48.

I really appreciate who replied, thank you.

Regards,
Derya.

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Mar 07 2007 - 01:47:24 CST

Original text of this message

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