I have multiple web services that write data inside a database table.
I’d like to automatic convert uppercase strings into lowercase ones, for a specific field.
Is there any mysql function that performs this task?
Suppose this is the table:
id | name | language
Sometimes, inside the language field, web services write an uppercase string (IT).
I want to convert it into a lowercase string (“it”), directly inside MySQL.
thanks
Define triggers on the table:
Then update the existing data: