Skip to Main Content

Oracle Database Discussions

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!

Why does Oracle SQL query returning a date field without the time component

867698Jun 9 2011 — edited Jun 9 2011
Hi,

I'm a novice SQL user & hv just installed Oracle SQL developer (Version 3.0.04, Build MAIN-04.34).

I made the same SQL query using "Oracle SQL developer" & "TOAD for Oracle 9.0.1" but I got 2 different format on the same date field:

On TOAD, I get the date field extracted as *04/26/2011 23:12:58*

On Oracle, I get the date field extracted as *26/APR/11*

Why is the Oracle result in a different format & missing the time component?

Is there any option/preference that I need to set in Oracle SQL developer to get the full date/time format displayed?

I've tried to set my the date format to DD/MON/RR HH12:MI:SSXFF AM under the preference -> database NLS but I still get the same format!

Plse help!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2011
Added on Jun 9 2011
3 comments
628 views