Upgrading a Custom Sort Order

Microsoft® SQL Server™ version 7.0 does not support custom sort orders. Defining a self-consistent set of sorting rules for a character set can be difficult, and the introduction of Unicode data, with its exponentially larger set of characters, makes this even more challenging.

It is recommended that you use Unicode data types when possible in SQL Server 7.0. In addition to offering an expanded range of characters of Unicode data, a Unicode collation may be compatible with your SQL Server 6.x custom sort order. Unicode collations are equivalent to Microsoft Windows NT® collations for the same locale, and these vary from the SQL Server 6.x sort orders in some instances. Also, the case, accent, width, and kana-sensitivity can be changed for each collation.

If you use a custom sort order with your SQL Server 6.x installation, evaluate what benefit you get from the custom sort order that you do not get from a SQL Server 7.0 sort order and Unicode collation. You may be able to switch without any complications. If the custom sort order presents important benefits, you may be able to compensate programmatically in your applications.

The SQL Server Upgrade Wizard can usually upgrade a custom sort order to the nearest equivalent. However, upgrading from a custom sort order can cause problems if either of these two conditions are true:

See Also
Character Set Unicode Collation
Sort Order  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.