Created
June 11, 2018 13:20
-
-
Save KangYoosam/e6cc36e0461b37e33f65e7d7df0e2128 to your computer and use it in GitHub Desktop.
mask email on mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update user set email = replace(email, left(email, instr(email, '@')-1),concat('xxxxxxx_', id)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment