Главная » Статьи » Linux |
Mysql change column charset/collate
To change collate existing table you can: ALTER TABLE table_name MODIFY column_name VARCHAR(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL; WARN: Only dev/stage mode. It can damage data. Источник: https://database.guide/how-to-set-the-character-set-and-collation-of-a-column-in-mysql/ | |
Просмотров: 344 | |
Всего комментариев: 0 | |