Wednesday, April 4, 2012

Using BETWEEN in oracle dates

select *
from my_table
where trunc(record_insert_date) between to_date('02-Feb-2012', 'DD-MON-YYYY') and to_date('04-Apr-2012', 'DD-MON-YYYY')

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home