Created
October 31, 2016 23:34
-
-
Save richgcook/194ec67edcc2fe14f54f216e5cfc8b1f to your computer and use it in GitHub Desktop.
mySQL replace file extension
This file contains 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 field_insitu_featured_image | |
SET data = REPLACE(data, '.gif', '.jpg') | |
UPDATE _TABLE_NAME_ | |
SET _COLUMN_ = REPLACE(_COLUMN_, '.gif', '.jpg') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment