By default, each column in a SQL Server database uses the collation that’s been specified at the database level. And by default, the database collation is taken from the server collation. However, these collation settings can be overridden, both at the database level and the column level by explicitly setting the collation at that level.
This page demonstrates how to specify the collation of a column. You can set the collation by adding the T-SQL COLLATE
clause to the CREATE TABLE
and ALTER TABLE
statements. When you use those statements, you define the column and its properties, including any collation settings. The COLLATE
clause is optional so if you don’t include it, the column will simply use the default collation of the database.
Continue reading