sql - How to select between two dates without using year to get birthday -
select * tbl_contact e e.dob between to_date('26-apr-2000','dd-mon-year') , to_date('03-may-2002','dd-mon-year')
how resolve issue.
if type of dob field of table date,the following query you:
select * tbl_contact e e.dob between to_date('26-apr','dd-mon') , to_date('03-may','dd-mon')
i hope you
Comments
Post a Comment