Skip to content

Instantly share code, notes, and snippets.

@achmadhadikurnia
Created April 4, 2023 02:42
Show Gist options
  • Save achmadhadikurnia/0fbcb00ce19d78a3db7af1d47a619c70 to your computer and use it in GitHub Desktop.
Save achmadhadikurnia/0fbcb00ce19d78a3db7af1d47a619c70 to your computer and use it in GitHub Desktop.
UPDATE table
SET field = REPLACE(field, 'replace string', 'replace to')
WHERE field LIKE '%replace string%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment