#1271 - Illegal mix of collations for operation '='

981 Views Asked by At

This error is occurred while selecting with date field.The date field type is "date" and the searched value is double byte.The searched condition is birth_day = '19940403'. How can we avoid the mysql error.

1

There are 1 best solutions below

3
venca On

You have to convert string to date.