Home >Database >Mysql Tutorial >How can we check if the MySQL CHAR() function returns a binary string by default?
With the help of the CHARSET() function, we can check which string is returned by the MySQL CHAR() function. The following result set will demonstrate it -
mysql> Select CHARSET(CHAR(85)); +-------------------+ | CHARSET(CHAR(85)) | +-------------------+ | binary | +-------------------+ 1 row in set (0.00 sec)
The above is the detailed content of How can we check if the MySQL CHAR() function returns a binary string by default?. For more information, please follow other related articles on the PHP Chinese website!