I am facing problem when i’m trying to select records from a table between two dates.
m using the following query
select * from xxx where dates between '10/10/2012' and '10/12/2012'
this query works for me but when the dates are in format like 1/1/2013.. it doesn’t work..
plz solve my problem ASAP.
This solution provides CONVERT_IMPLICIT operation for your condition in predicate
OR
Demo on SQLFiddle