Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save facilita-tecnologia/28de2b4d2ea151beb11128ad7703dcfe to your computer and use it in GitHub Desktop.
Save facilita-tecnologia/28de2b4d2ea151beb11128ad7703dcfe to your computer and use it in GitHub Desktop.
Update MYSQL REPLACE
UPDATE tb_clientes
SET
cpf_cnpj = REPLACE(cpf_cnpj,'-','')
WHERE
id > 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment