Top "Collation" questions

Collation refers to a set of rules that determine how data is sorted and compared.

How to change the CHARACTER SET (and COLLATION) throughout a database?

Our previous programmer set the wrong collation in a table (Mysql). He set it up with Latin collation, when it …

mysql sql collation
Cannot Resolve Collation Conflict

I have moved one of our databases (DB1) from SQL Server 2008 to 2012 and when I run the stored procedures I …

sql sql-server sql-server-2008 sql-server-2012 collation
phpmysql error - #1273 - #1273 - Unknown collation: 'utf8mb4_general_ci'

I have just installed PhpMyAdmin v4.1.5 English only I have set it up to access 2 servers - the local one …

php mysql phpmyadmin collation
Efficiently replace all accented characters in a string?

For a poor man's implementation of near-collation-correct sorting on the client side I need a JavaScript function that does efficient …

javascript sorting string collation
Doing a join across two databases with different collations on SQL Server and getting an error

I know, I know with what I wrote in the question I shouldn't be surprised. But my situation is slowly …

sql-server tsql collation
SQL Server - Convert varchar to another collation (code page) to fix character encoding

I'm querying a SQL Server database that uses the SQL_Latin1_General_CP850_BIN2 collation. One of the table rows …

sql-server character-encoding collation
Illegal mix of collations error in MySql

Just got this answer from a previous question and it works a treat! SELECT username, (SUM(rating)/COUNT(*)) as TheAverage, …

mysql collation mysql-error-1267
How to fix a collation conflict in a SQL Server query?

I am working on a view, wherein I am using an inner join on two tables which are from two …

sql-server database collation
Changing SQL Server collation to case insensitive from case sensitive?

I've recently installed SQL Server 2008 and I selected collation as case sensitive. I want to make it case insensitive for …

sql-server sql-server-2008 collation
When must we use NVARCHAR/NCHAR instead of VARCHAR/CHAR in SQL Server?

Is there a rule when we must use the Unicode types? I have seen that most of the European languages (…

sql-server unicode collation nvarchar