修改数据库Collocation时出现的The database could not be exclusively locked to perform the operation(SQL Server
2013-06-27 16:13
656 查看
需要将数据库的字符集修改为,Chinese_PRC_90_CI_AS。否则中文会以问号的形式显示。
修改为单用户模式
SQL ALTER DATABASE db_database SET SINGLE_USER WITH ROLLBACK IMMEDIATE
然后查询窗口,修改Options的Collocation属性为Chinese_PRC_90_CI_AS
也可以使用命令 alter database collate Chinese_PRC_90_CI_AS 来修改
改为多用户模式:
SQL ALTER DATABASE db_database SET MULTI_USER
修改为单用户模式
SQL ALTER DATABASE db_database SET SINGLE_USER WITH ROLLBACK IMMEDIATE
然后查询窗口,修改Options的Collocation属性为Chinese_PRC_90_CI_AS
也可以使用命令 alter database collate Chinese_PRC_90_CI_AS 来修改
改为多用户模式:
SQL ALTER DATABASE db_database SET MULTI_USER
相关文章推荐
- sql中:The database could not be exclusively locked to perform the operation. 错误处理
- 编辑排序规则The database could not be exclusively locked to perform the operation(SQL Server 5030错误解决办法)
- Error: the database could not be exclusively locked to perform the operation[解决办法]
- ERROR:The database could not be exclusively locked to perform the operation
- The database could not be exclusively locked to perform the operation(SQL Server 5030错误解决办法)
- The database could not be exclusively locked to perform the operation(SQL Server 5030错误解决办法)(转)
- The database could not be exclusively locked to perform the operation(SQL Server 5030错误解决办法)
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- 解决Azure “Failed to start Storage Emulator: the SQL Server instance `.\' could not be found.”
- 连接数据库出现:Connections could not be acquired from the underlying database
- 连接数据库出现:Connections could not be acquired from the underlying database
- Could not store transport type data for Receive Location 'Recv.Loc' to config store. Primary SSO Server 'Sql-server' failed. The external credentials in the SSO database are more recent.
- 连接数据库出现:Connections could not be acquired from the underlying database
- 配置penfire出现A connection to the database could not be made. ...错误
- 数据库连接问题之:Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
- SqlServer2005 恢复数据库时出现Exclusive access could not be obtained because the database is in use 的解决方法
- the security settings could not be applied to the database (error 1045 MySQL)的解决
- 最近一个工程出现的问题 以前工程可用的代码到这个工程里也会显示 The following classes could not be found: - ImageView (Change to and
- SQLBackupAndFTP The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "xxxx"