可以添加,可以修改,可以显示,但搜索有问题.
象like '%Grotte de la Flûte de Roseau%' 
搜索不到,like '%û%'也是搜不到的,like '%[û]%'也搜不到,但like '%Grotte de la'可以找到.在查询分析器可以验证.用的是sql2000.象 à è则可以搜到.字段已定义nvarchar.排序改为French_CI_AS也不行.
恳请指教.

解决方案 »

  1.   


    create table TB(a varchar(200))
    insert into TB select 'Grotte de la Flûte de Roseau'
    insert into TB select 'Flûte de la  de asdfasdfa'
    insert into TB select 'Flûte de la asdfasf de Roseau'
    insert into TB select 'Grotte de la asdf de asdfasfda'
    insert into TB select 'Grotte asdfasd la Flûte de asdfasdfasd'select * from TB where a like '%û%'
    /*
    a                                                                                                                                                                                                        
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
    Grotte de la Fl?te de Roseau
    Grotte de la Fl?te de Roseau
    Fl?te de la  de asdfasdfa
    Fl?te de la asdfasf de Roseau
    Grotte asdfasd la Fl?te de asdfasdfasd(所影响的行数为 5 行)*/我的就可以啊
      

  2.   


    select ascii('û')
    select ascii('?')
    /*
                
    ----------- 
    63(所影响的行数为 1 行)            
    ----------- 
    63(所影响的行数为 1 行)
    */
      

  3.   

    请教jiangshun,你的数据库是用的哪个版本?我都快被这问题逼疯了.
      

  4.   


    exec xp_msver
    /*
    Index  Name                             Internal_Value Character_Value                                                                                                          
    ------ -------------------------------- -------------- ------------------------------------------------------------------------------------------------------------------------ 
    1      ProductName                      NULL           Microsoft SQL Server
    2      ProductVersion                   524288         8.00.194
    3      Language                         2052           中文(中国)
    4      Platform                         NULL           NT INTEL X86
    5      Comments                         NULL           NT INTEL X86
    6      CompanyName                      NULL           Microsoft Corporation
    7      FileDescription                  NULL           SQL Server Windows NT
    8      FileVersion                      NULL           2000.080.0194.00
    9      InternalName                     NULL           SQLSERVR
    10     LegalCopyright                   NULL           ? 1988-2000 Microsoft Corp. All rights reserved.
    11     LegalTrades                  NULL           Microsoft? is a registered trade of Microsoft Corporation. Windows(TM) is a trade of Microsoft Corporation
    12     OriginalFilename                 NULL           SQLSERVR.EXE
    13     PrivateBuild                     NULL           NULL
    14     SpecialBuild                     65630          NULL
    15     WindowsVersion                   170393861      5.1 (2600)
    16     ProcessorCount                   2              2
    17     ProcessorActiveMask              3              00000003
    18     ProcessorType                    586            PROCESSOR_INTEL_PENTIUM
    19     PhysicalMemory                   1535           1535 (1609674752)
    20     Product ID                       NULL           NULL(所影响的行数为 20 行)
    */这个是数据库信息
      

  5.   

    非常感谢.问题出在我的like写法,出问题的表写为'%û%'是不行的.