COLLATION
Syntax
COLLATION(str)
Description
Returns the collation of the string str.
You can execute the SHOW COLLATION statement to view the collations supported by seekdb.
Examples
SELECT COLLATION("oceanbase");
+------------------------+
| COLLATION("oceanbase") |
+------------------------+
| utf8mb4_general_ci |
+------------------------+
1 row in set (0.001 sec)
SELECT COLLATION("oceanbase" COLLATE utf8mb4_bin);
+--------------------------------------------+
| COLLATION("oceanbase" COLLATE utf8mb4_bin) |
+--------------------------------------------+
| utf8mb4_bin |
+--------------------------------------------+
1 row in set (0.001 sec)