Collation Error

后端 未结 3 1549
长发绾君心
长发绾君心 2021-02-01 13:36

I am using Microsoft SQL Server Management Studio. I have two databases one is the system database, which has the master database and the other one is my database called C

3条回答
  •  梦如初夏
    2021-02-01 14:29

    Need to set it to SINGLE_USER first.

    ALTER DATABASE [database] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; 
    
    GO 
    
    ALTER DATABASE [database] COLLATE SQL_1xCompat_CP850_CI_AS; 
    
    GO 
    
    ALTER DATABASE [database] SET MULTI_USER; 
    
    GO 
    

提交回复
热议问题