February 2018
Intermediate to advanced
510 pages
16h 10m
English
Another set of MySQL string data types is BINARY and VARBINARY. These are similar to CHAR and VARCHAR data types. An important difference between CHAR/VARCHAR and BINARY/VARBINARY is that BINARY/VARBINARY data types contain binary strings than character strings. BINARY/VARBINARY uses binary character sets and collation. BINARY/VARBINARY are different from CHAR BINARY and VARCHAR BINARY data types. The basic difference lies in the character set and collation referred to.
The maximum length for permitted values is similar to that of CHAR and VARCHAR. The only difference is that the length of BINARY and VARBINARY is in bytes, rather than characters.
How would MySQL compare binary values? The answer is that the ...
Read now
Unlock full access