Difference between binary and character datatype in MySQL? with examples and limitation -


what difference between binary , character datatype in mysql? need examples , limitation info

the binary , varbinary types similar char , varchar, except contain binary strings rather nonbinary strings. is, contain byte strings rather character strings. means have no character set, , sorting , comparison based on numeric values of bytes in values. more details

http://www.tutorialspoint.com/mysql/mysql-data-types.htm

http://dev.mysql.com/doc/refman/5.7/en/binary-varbinary.html

and read

mysql "binary" vs "char character set binary"


Comments

Popular posts from this blog

javascript - How do you prevent nested queries/catches in sequelize? -

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

ruby on rails - ActiveRecord order not working -