salix/services/db/changes/1.0.1/02-updateClientMails.sql

3 lines
104 B
MySQL
Raw Normal View History

2018-02-28 11:07:56 +00:00
UPDATE vn.client
SET email = REPLACE(REPLACE(email, ' ', ''), ';', ',')
WHERE email REGEXP '[ |;]';