Microsoft SQL Server 5030 Error Resolution
Today when using SQL Server, because the database was previously created forgot to set collocation, the database inserted Chinese characters are garbled, so into the options of the databases to modify collocation, the database has appeared could Not being exclusively locked to perform the operation this error, cannot modify character set to Chinese_prc_90_ci_as.
The solution was found for a long time, as follows:
1. Execute sql: ALTER DATABASE db_database SET single_user with ROLLBACK IMMEDIATE
Modify to single-user mode
2. Then close all the query Windows and modify the options collocation property to Chinese_prc_90_ci_as
Modify database Character set alter Db_database COLLATE chinese_rpc_90_ci_as
3. Execute sql: ALTER DATABASE db_database SET multi_user
And then modify it to multi-user mode
The database could not being exclusively locked to perform the operation (SQL Server 5030 Error Resolution) (RPM)