Name
CHARSET( )
Synopsis
CHARSET(string
)
This function returns the character set used by a given string. This function is available as of Version 4.1.0 of MySQL.
SELECT CHARSET('test'); +-----------------+ | CHARSET('test') | +-----------------+ | latin1 | +-----------------+
Get MySQL in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.