top of page

36

MySQL 8.0

BINARY

BINARY[(M)]

The BINARY type is similar to the CHAR type, but stores binary byte
strings rather than nonbinary character strings. An optional length M
represents the column length in bytes. If omitted, M defaults to 1.

​

bottom of page