I have a table notes. With fields service_date and create_date. I only want to see a result if the service_date is >='01-JAN-2012 AND if the service_date and create_date do not match.
I have tried
select applicant_id, service_date, create_date
from notes
where service_date!=create_date
But I get results where those 2 dates match, so it isn’t working.
I’m sorry, I am using Oracle
Try:
(Dates in oracle DB always have a time component – even if you don’t display it)