Here are three ways to show the server collation in MariaDB.
Continue readingHow BIN() Works in MariaDB
In MariaDB, BIN()
is a built in string function that returns a string representation of the binary value of the given longlong (i.e. BIGINT
) number.
You provide the longlong number when you call the function.
Continue readingHow COLLATION() Works in MariaDB
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 reading3 Ways to Get the Collation of a Column in MariaDB
Here are three ways to return the collation of a column in MariaDB.
Continue readingSet the Character Set and Collation of a Table in MariaDB
You 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).
4 Ways to Get the Database Collation in MariaDB
Here are four ways to return the database collation in MariaDB.
Continue readingHow SHOW CHARACTER SET Works in MariaDB
In MariaDB, you can use the SHOW CHARACTER SET
administrative SQL statement to return all available character sets in MariaDB.
How SHOW COLLATION Works in MariaDB
In MariaDB, you can use the SHOW COLLATION
administrative SQL statement to return all available collations in MariaDB.
Full List of Collations Supported by MariaDB
Below is a full list of collations available in MariaDB.
Continue readingFull List of Character Sets Supported by MariaDB
Below is a full list of character sets available in MariaDB.
Continue reading