SELECT COLLATION(_utf8'abc'); : COLLATION « Information Functions « MySQL Tutorial






mysql>
mysql>
mysql> SELECT COLLATION(_utf8'abc');
+-----------------------+
| COLLATION(_utf8'abc') |
+-----------------------+
| utf8_general_ci       |
+-----------------------+
1 row in set (0.00 sec)








20.5.COLLATION
20.5.1.COLLATION(str) returns the collation of the string argument.
20.5.2.SELECT COLLATION(_utf8'abc');