希望dudu谅解,这个问题我解决不了,看大家的智慧。

事情很复杂

 

我的网站海洋工作室(http://sps.oceanstudio.net ),因为用的数据库是英文版sql server,所以里面的搜索只能搜索英文关键字,不能搜索中文关键字。据一老兄介绍,只要将数据库的排序规则设置成中文的,就可以支持中文的全文检索。我用如下语句:

 

alter database 海洋工作室1_SITE collate Chinese_PRC_CI_AS

 

但是报错,也就是说数据库中有些内容和排序规则有关,所以不能够设置新的排序规则。这样该怎么办才好呢?错误信息如下:

 

Server: Msg 5075, Level 16, State 1, Line 1

The object 'CK_CatDef' is dependent on database collation.

Server: Msg 5075, Level 16, State 1, Line 1

The object 'CK_CatJoint_Title' is dependent on database collation.

Server: Msg 5075, Level 16, State 1, Line 1

The object 'CK_CatKeyword_Keyword' is dependent on database collation.

Server: Msg 5075, Level 16, State 1, Line 1

The column 'Docs.LTCheckoutUserId' is dependent on database collation.

Server: Msg 5075, Level 16, State 1, Line 1

The column 'Docs.Extension' is dependent on database collation.

Server: Msg 5075, Level 16, State 1, Line 1

The object 'CK_CatPath_Depth' is dependent on database collation.

Server: Msg 5072, Level 16, State 1, Line 1

ALTER DATABASE failed. The default collation of database '海洋工作室1_SITE' cannot be set to Chinese_PRC_CI_AS.

 

欢迎访问海洋工作室(http://sps.oceanstudio.net )

oceanocean@forever.net.cn

相关文章:

  • 2022-01-13
  • 2022-12-23
  • 2021-10-25
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
  • 2021-12-11
  • 2022-02-08
  • 2021-09-02
相关资源
相似解决方案