Microsoft KB Archive/929666

From BetaArchive Wiki
Knowledge Base


The value of the Collation registry entry is changed to the SQL_Latin1_General_CP1_CI_AS value after you install SQL Server 2005 Service Pack 2 Community Technology Preview or SQL Server 2005 Service Pack 1

Article ID: 929666

Article Last Modified on 11/20/2007



APPLIES TO

  • Microsoft SQL Server 2005 Standard Edition
  • Microsoft SQL Server 2005 Workgroup Edition
  • Microsoft SQL Server 2005 Developer Edition
  • Microsoft SQL Server 2005 Enterprise Edition
  • Microsoft SQL Server 2005 Standard X64 Edition
  • Microsoft SQL Server 2005 Standard Edition for Itanium-based Systems
  • Microsoft SQL Server 2005 Enterprise X64 Edition
  • Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems



SYMPTOMS

After you install Microsoft SQL Server 2005 Service Pack 2 (SP2) Community Technology Preview (CTP) or Microsoft SQL Server 2005 Service Pack 1 (SP1), the value of the Collation registry entry is changed to the SQL_Latin1_General_CP1_CI_AS value. The Collation registry entry is for the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.X\Setup


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

After you install SQL Server 2005 SP2 CTP or SQL Server 2005 SP1, the value of the Collation registry entry no longer reflects the correct collation of the current instance of SQL Server 2005. The incorrect value does not affect the behavior of SQL Server 2005. However, if you use the Collation registry entry to determine the collation of the current instance of SQL Server 2005 in an application, issues may occur. You cannot rely on the Collation registry entry to determine the collation of the current instance of SQL Server 2005.

To obtain the correct collation of the current instance of SQL Server 2005, run the following query against the instance of SQL Server 2005.

Select convert(sysname, serverproperty(N'collation'))

Steps to reproduce the problem

  1. Install SQL Server 2005.
  2. On the Collation Settings page of the SQL Server Installation Wizard, click French in the Collation designator and sort order list.
  3. After the installation is complete, examine the value of the Collation registry entry for the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.X\Setup

  4. Install SQL Server 2005 SP2 CTP or SQL Server 2005 SP1.
  5. After the installation is complete, examine the value of the Collation registry entry for the following registry subkey:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.X\Setup

    The value of the Collation registry entry is changed to the SQL_Latin1_General_CP1_CI_AS value.


Keywords: kbtshoot kbprb kbexpertiseadvanced KB929666