Click to Rate and Give Feedback
TechNet
TechNet Library
SQL Server
SQL Server 2005
 Setting and Changing the Server Col...
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
SQL Server 2005 Books Online (November 2008)
Setting and Changing the Server Collation

The server collation acts as the default collation for all system databases that are installed with the server, and also any newly created user databases. The server collation is specified during setup. For more information, see Collation Settings in Setup.

Changing the default collation for an instance of SQL Server 2005 can be a complex operation and involves the following steps:

  • Make sure you have all the information or scripts needed to re-create your user databases and all the objects in them.
  • Export all your data using a tool such as bulk copy.
  • Drop all the user databases.
  • Rebuild the master database specifying the new collation in the SQLCOLLATION property of the setup command. For example:
    start /wait setup.exe /qb INSTANCENAME=MSSQLSERVER REINSTALL=SQL_Engine REBUILDDATABASE=1 SAPWD=test SQLCOLLATION=SQL_Latin1_General_CP1_CI_AI
    For more information about rebuilding the master database, see How to: Rebuild the Master Database for SQL Server 2005.
  • Create all the databases and all the objects in them.
  • Import all your data.
ms179254.note(en-US,SQL.90).gifNote:
Instead of changing the default collation of an instance of SQL Server 2005, you can specify a default collation for each new database you create.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Case-insensitive DB on case-sensitive server?      Tatyana Yanaty   |   Edit   |   Show History
It seems that you cannot have case-insensitive databases (either created as such or copied/restored as CI from other servers) on a case-sensitive server. I tried to create/restore/copy a case-insensitive DB on a server that was created as a case-sensitive, and every time the database turned out to be CS, even though in its properties the CI collation is shown!
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker