What is the difference between binary and character datatype in MySQL? need examples and limitation info
1 Answer
The BINARY and VARBINARY types are similar to CHAR and VARCHAR, except that they contain binary strings rather than nonbinary strings. That is, they contain byte strings rather than character strings. This means that they have no character set, and sorting and comparison are based on the numeric values of the bytes in the values. for more details
http://www.tutorialspoint.com/mysql/mysql-data-types.htm
http://dev.mysql.com/doc/refman/5.7/en/binary-varbinary.html
and also read