Convert all values of a field in a MYSQL table to lowercase (or uppercase)

It is hereby recorded for later use!

The code is as follows:

Convert to lowercase:
UPDATE table name SET column name = lower (column name);

if converted to uppercase:
UPDATE table name SET column name = UCASE (column name);

from: http://www.ued8.com/ ?p=393

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326975531&siteId=291194637