且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改数据库SQL Server 2008的排序规则

更新时间:2023-01-30 13:55:04

如果该排序规则对于您实例上的其他数据库可见,但从2005实例恢复的该特定数据库却不可见,我想知道显示的列表是否取决于数据库兼容性模型。

If the collation is visible for other databases on your instance but not this specific one restored from a 2005 instance I wonder if the list displayed is dependent upon the databases compatibility model.

也许尝试将已还原数据库的兼容模式更改为100,以查看其是否出现在选项列表中。

Maybe try changing the compatibility mode of the restored database to 100 to see if it appears in the list of options.

请注意,更改数据库排序规则不会影响现有列。这是一个可能有助于

Note changing the database collation will not affect existing columns. Here's a script that may help with that.