Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 字段内容大小写
May I ask, for an already created TiDB cluster, if you want the content of varchar type fields to be case-insensitive, do you have to rebuild the cluster?
Currently, it can only be rebuilt…
Regardless of which version, right?
You can refer to this document to try it out:
However, the following characteristics determine that the cluster cannot support more methods:
It is recommended to consider carefully when planning the character set and collation of the cluster…
Modify the sorted set:
alter table xxx COLLATE=
Modify the field
alter table test1 modify column name varchar(20) COLLATE utf8mb4_bin DEFAULT NULL
Keep the sorted set consistent, otherwise, associated queries can easily encounter issues…
Changing the character set doesn’t work.
The image you provided is not accessible. Please provide the text you need translated.
The image you provided is not accessible. Please provide the text content you need translated.
In this situation, you can only rebuild and then migrate.