MySQL Characterset and Collation

Definition

A character set is a set of symbols and encodings. A collation is a set of rules for comparing characters in a character set. For more infor follow link below
http://dev.mysql.com/doc/refman/5.0/en/charset-general.html
In order to create a new MySQL UTF-8 Db with a collation of uitf8_unicode_ci, from scratch use the following example
create database if not exists <databasename>default character set utf8 default collate utf8_unicode_ci;
 There are many collations for each charactset, which can be viewed as follows:
 show collation like '%utf8%';

Comments

Popular posts from this blog

SQL SERVER – Event ID 107- Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.

SQL Server Builds Information

Using DBCA silent install and disabling automatic memory management