Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 4.16 KB

File metadata and controls

48 lines (34 loc) · 4.16 KB
title Server Configuration - Collation | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology database-engine
ms.topic conceptual
helpviewer_keywords
collation configuration, SQL Server
collation configuration, Setup
collation configuration
ms.assetid e3986870-5be4-458b-b671-5ff12a27b022
author mashamsft
ms.author mathoma
manager craigg

Server Configuration - Collation

On the Server Configuration - Collation page of the [!INCLUDEssNoVersion] Installation Wizard, you can modify collation settings that the [!INCLUDEssDE] and [!INCLUDEssASnoversion] use for sorting purposes. Select the option to match collation settings of different installations of [!INCLUDEssNoVersion], or of another computer.

Options

Customize for [!INCLUDEssNoVersion] and [!INCLUDEssASnoversion]
[!INCLUDEssNoVersion] provides two groups of collations: Windows collations and [!INCLUDEssNoVersion] collations. You can specify separate collation settings for the [!INCLUDEssDE] and [!INCLUDEssASnoversion], or you can specify the same collation for both.

By default, a [!INCLUDEssNoVersion] collation is selected for US-English system locales. The default collation for localized versions of [!INCLUDEssNoVersion] is determined by the Windows system locale setting for your computer.

The default settings should be changed only if the collation setting for this installation of [!INCLUDEssNoVersion] must match the collation settings used by another instance of [!INCLUDEssNoVersion], or if it must match the Windows system locale of another computer.

Note [!INCLUDEssASnoversion] uses Windows collations only. If you plan to install [!INCLUDEssASnoversion], select a Windows collation during [!INCLUDEssNoVersion] Setup to ensure consistent results between the [!INCLUDEssDEnoversion] and [!INCLUDEssASnoversion].

For more information, see Collation Settings in Setup.

Best Practices

For more information about a table of Windows System locales and the corresponding default collations used by [!INCLUDEssNoVersion] Setup, see Collation Settings in Setup.

If it is possible, use a single collation for your organization. This way, you do not have to explicitly specify the collation for every database, column, expression, or identifier. If you must work with multiple collations and code page settings, code your queries to consider the rules of collation precedence. For more information, see the Books Online topic for Collation Precedence (Transact-SQL).

When you select a collation for [!INCLUDEssNoVersion], consider the following recommendations:

  • Select a BINARY2 collation if binary code point based ordering is acceptable.

  • Select a Windows collation for consistent comparison across data types.

  • Use a new 100-level collation for better linguistic sorting support. For more information, see Collation and Unicode Support.

  • If you plan to migrate a database to the upgraded instance of [!INCLUDEssNoVersion], select the collation that matches your existing collation of the database.