Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to extract hour from DATE datatype?

222529May 18 2007 — edited May 18 2007
Hi,

I have a table that has a DATE column.
If I select this column, it show its date and time .
If I try to extract hour from this data, the following message is shown:

ORA-30076: invalid extract field for extract source

Why it shows time (hour, minute, second,..) and i cannot extract nothing from there?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2007
Added on May 18 2007
5 comments
1,779 views