What is Collation?
What is Collation?
A collation is the set of rules that decide how text is compared and sorted: is a equal to A, does é equal e, where does Z sort relative to a, and how are accents handled.
'abc' = 'ABC' is true under a case-insensitive (CI) collation.'resume' = 'résumé' under an accent-insensitive (AI) one.ä after z, German ä with a).ORDER BY, GROUP BY, DISTINCT, UNIQUE, LIKE and index lookups.-- MySQL
CREATE TABLE users (
email VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.