Mega Code Archive

 
Categories / MySQL Tutorial / Information Functions
 

COLLATION(str) returns the collation of the string argument

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