Reputation: 3209
I have this syntax here:
date_record != YEAR(CURDATE())
and all the record returned are have the year 2013...What am I doing wrong?
Upvotes: 0
Views: 1194
Reputation: 181
maybe just compare the years...
YEAR(date_record) != YEAR(CURDATE())
Upvotes: 2