Skip to content

Instantly share code, notes, and snippets.

@runningnet
Created October 14, 2015 10:17
Show Gist options
  • Save runningnet/343cd92e2ba9832d525f to your computer and use it in GitHub Desktop.
Save runningnet/343cd92e2ba9832d525f to your computer and use it in GitHub Desktop.
update table_name set field = replace(field, 'foo', 'bar') where instr(field, 'foo') > 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment