A collation is a configuration setting that determines how the database engine should treat character data at the server, database, or column level. … In SQL Server, you can configure a character column with a Unicode data type (nchar, nvarchar, or ntext) or non-Unicode data type (char, varchar, or text).

Collation is a set of rules dictating how each group of characters within SQL Server is treated. A list of collations and their definitions can be found using the following query.

Install Default:

SQL_Latin1_General_CP1_CI_AS

breaks up into interesting parts:

  1. latin1 makes the server treat strings using charset latin 1, basically ascii
  2. CP1 stands for Code Page 1252
  3. CI case insensitive comparisons so ‘ABC’ would equal ‘abc’
  4. AS accent sensitive, so ‘ΓΌ’ does not equal ‘u’

Sources:

https://www.virtual-dba.com/sql-server-collation/

https://stackoverflow.com/questions/5039211/what-does-collate-sql-latin1-general-cp1-ci-as-do/40917362

Last modified: March 8, 2021

Author

Comments

Write a Reply or Comment