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: How To Extract Hour From A Date Column In A Table?

Re: How To Extract Hour From A Date Column In A Table?

From: Daniel Fink <danielwfink_at_yahoo.com>
Date: 5 Apr 2006 15:37:55 -0700
Message-ID: <1144276675.428152.284450@z34g2000cwc.googlegroups.com>


You cannot EXTRACT(HOUR) from a column defined as DATE. You can EXTRACT(TIMEZONE_HOUR) from a column defined as TIMESTAMP WITH TIME ZONE. You can use TO_CHAR as indicated previously.

Regards,
Daniel Fink Received on Wed Apr 05 2006 - 17:37:55 CDT

Original text of this message

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