Skip to content

Instantly share code, notes, and snippets.

@iprodev
Created December 14, 2018 18:11
Show Gist options
  • Save iprodev/aea95f44407a5dce2cddb262af4c9e41 to your computer and use it in GitHub Desktop.
Save iprodev/aea95f44407a5dce2cddb262af4c9e41 to your computer and use it in GitHub Desktop.
SQL : Search and Replace
UPDATE tableName
SET columnName = REPLACE(
columnName,
'TEXT TO SEARCH FOR',
'TEXT TO REPLACE WITH'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment