當我試圖把現有的數據庫(包括數據)的整理,從ARABIC_CS_AS
改變PERSIAN_100_CS_AS
出現以下錯誤:問題與數據庫歸類改變(SQL Server 2008中)
Alter failed for Database 'XXXX'. (Microsoft.SqlServer.Smo)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
The object 'ItemTables' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.
The object 'CK_FilteredReportColumnFilters' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.
The object 'CK_FilteredReportColumnFilters_1' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.
The object 'CK_FilteredReportColumnFilters_2' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.
The object 'CK_Reports' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation.ALTER DATABASE failed. The default collation of database 'XXXX' cannot be set to Persian_100_CS_AS. (Microsoft SQL Server, Error: 5075)
試圖糾正提到的錯誤通過刪除這些數據庫對象導致轉換過程中與其他標題的另一個錯誤。
有什麼想法?是否有任何明確的解決方案來解決這個問題?
[更改SQL 2005中聚簇索引列上的排序規則]的可能重複實際上是(http://stackoverflow.com/questions/581517/change-collation-on-clustered-index-column-in-sql-2005) – gbn