Skip to content

Instantly share code, notes, and snippets.

@tracend
Created June 18, 2016 20:46
SQL notes

Brute force string update

Change the text content in the db using:

UPDATE [table] SET [field] = REPLACE([field],'[FIND]','[REPLACE]');

where field is a column name like post_content or guid.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment