zoukankan      html  css  js  c++  java
  • 排序规则害死人,问个问题

    希望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

  • 相关阅读:
    关于事务
    jquery弹出框
    ??(怕忘记 特此记录)
    .net事务
    揭开iphone4 4S 5 之间的内幕!这次你们该相信了吧!
    net得到当前时间
    aspnet ajax2.0下载安装包 msi
    jquery css 逐渐增加div的大小
    DataTable转换为Json对象
    安装EntityFramework
  • 原文地址:https://www.cnblogs.com/ocean/p/108432.html
Copyright © 2011-2022 走看看