You cannot do this with your creative effort SET * = LOWER(*), etc.
However, you can do it as follows:
UPDATE table SET
column1 = LOWER(column1),
column2 = LOWER(column2),
columnN = LOWER(columnN);
The reason there is no shortcut is probably because this template is so rarely needed.
source
share