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!

Working with Dates in where clause

932957Apr 24 2012 — edited Apr 24 2012
Hi,
I am using Oracle for few years now but always have hard time when it comes to using Date in where clause. Can someone please give a crash course on this? if the NLS_DATE_FORMAT is 'DD-MON-RR' then how should one specify date in where clause assuming that the column has DATE datatype. Tools such as TOAd display dates as mm/dd/yyyy hh:mi:ss and that confuses me a lot. I know that is setting in the tool to display dates in tool itself. If I want to display records that have been updated on 14-april-2012 then how should format be mentioned in where clause(assume column name as ls_updt_ts) .

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2012
Added on Apr 24 2012
4 comments
613 views