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

3 lines
104 B
SQL

UPDATE vn.client
SET email = REPLACE(REPLACE(email, ' ', ''), ';', ',')
WHERE email REGEXP '[ |;]';