天天看點

更改SQL Server 資料庫的排序規則

更改資料庫的排序規則,SQL提示 5030 的錯誤,錯誤資訊如下:

The database could not be exclusively locked to perform the operation.

解決方法:

1.設定資料庫的 Ristrict Access 為 SINGLE_USER.

2.執行下列語句更改排序規則

3.上述指令執行成功之後設定Ristrict Access 為 MULTI_USER.