您的位置:首页 > 运维架构

How to set the Collation properties of the database

2012-04-07 16:07 441 查看
-- set to the single user exclusive mode

ALTER DATABASE testdb SET SINGLE_USER WITH ROLLBACK IMMEDIATE

go

-- modify the collation properties as SQL_Latin1_General_CP1_CI_AI

ALTER DATABASE testdb COLLATE SQL_Latin1_General_CP1_CI_AI

go

-- restore to multi user mode.

ALTER DATABASE testdb SET MULTI_USER

go
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: