Skip to content

Instantly share code, notes, and snippets.

@aamsur-mkt
Last active September 24, 2019 04:00
Show Gist options
  • Save aamsur-mkt/09e956de188fe44c7b6d8159fb8aed10 to your computer and use it in GitHub Desktop.
Save aamsur-mkt/09e956de188fe44c7b6d8159fb8aed10 to your computer and use it in GitHub Desktop.
Update prefix of a field
UPDATE db_rumah_sakit
SET icon = REPLACE (icon, 'https://from.url.com', 'http://to.url.com')
where icon like 'https://from.url.com%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment