Created
August 26, 2014 10:33
-
-
Save oak-tree/6fadc29cf852a3f874eb to your computer and use it in GitHub Desktop.
MySql: search for all tables and db with collation different than utf_8_general_c
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
| SELECT TABLE_CATALOG, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, COLLATION_NAME | |
| FROM INFORMATION_SCHEMA.COLUMNS | |
| WHERE COLLATION_NAME != 'utf8_general_ci' | |
| LIMIT 0 , 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment