Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Created March 10, 2017 20:17
Show Gist options
  • Save marcosnakamine/09e5d50c40c0f6a20b2b09ac55411ea9 to your computer and use it in GitHub Desktop.
Save marcosnakamine/09e5d50c40c0f6a20b2b09ac55411ea9 to your computer and use it in GitHub Desktop.
MySQL - Search and replace string
UPDATE table_name
SET column_name = REPLACE(
column_name,
'search',
'replace'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment