Created
January 3, 2023 16:20
-
-
Save dimaspante/5cf42d63bdcd59040b38537a8f66ddda to your computer and use it in GitHub Desktop.
MySQL tips
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
/*! Convert field content to utf8 */ | |
UPDATE table SET field = convert(cast(convert(field using latin1) as binary) using utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment