In MariaDB, COLLATION()
is a secondary built in function that returns the collation of a given string.
We provide the string when we call the function.
Continue readingIn MariaDB, COLLATION()
is a secondary built in function that returns the collation of a given string.
We provide the string when we call the function.
Continue readingHere are three ways to return the collation of a column in MariaDB.
Continue readingYou can specify the character set and collation at various levels in MariaDB. You can specify them at the connection level, the server level, the database level, the table level, and even the column level.
You can also specify a collation in your queries so that it overrides any collation that has been previously specified at the aforementioned levels.
To set the character set and collation at the table level, use the CREATE TABLE
statement or ALTER TABLE
statement (depending on whether you’re creating the table or modifying it).
Here are four ways to return the database collation in MariaDB.
Continue readingIn MariaDB, you can use the SHOW CHARACTER SET
administrative SQL statement to return all available character sets in MariaDB.
In MariaDB, you can use the SHOW COLLATION
administrative SQL statement to return all available collations in MariaDB.
Below is a full list of collations available in MariaDB.
Continue readingBelow is a full list of character sets available in MariaDB.
Continue readingIn MariaDB, collation can be applied at many levels. Collation can be applied at the server level, the connection level, the database level, the table level, and even at the column level.
It’s also possible to specify a collation at the query level, so that it will override any collation that has been applied at the database, table, or column levels.
MariaDB provides a number of options for returning the collation at the various levels.
Continue readingIn MariaDB, CHAR()
is a built-in string function that returns characters based on their code values.
CHAR()
accepts one or more integers. It then returns a string consisting of the characters given by the code values of those integers.