April 2008
Intermediate to advanced
566 pages
21h 55m
English
CHARSET()
CHARSET(string)This function returns the character set used by a given string. It’s available as of version 4.1.0 of MySQL. Here is an example:
SELECT CHARSET('Rosá')
AS 'Set for My Name';
+-----------------+
| Set for My Name |
+-----------------+
| utf8 |
+-----------------+Read now
Unlock full access