Created
April 20, 2021 02:59
-
-
Save peacefixation/276a3ebab1559fc933d15fc6619e244a to your computer and use it in GitHub Desktop.
Postgres Find Replace
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 table | |
SET column = REPLACE(column, 'find-str', 'replace-str') | |
WHERE id = X; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment