• tommyh (5/25/2010)


    Out of curiousity. If one would like to get all strings containing a C from the below code... how would you do that in that collation?

    create table #t (string varchar (5))

    insert into #t (string) values ('ACH')

    insert into #t (string) values ('ACY')

    insert into #t (string) values ('AHHC')

    select string from #t

    where string like '%C%' -- will miss ACH

    drop table #t

    It's very hard.

    And if you are playing with our very special language, you can continue with case in case insensitive collation :w00t: : there is a difference if you are using 'ch', 'CH', 'Ch' and 'cH'.



    See, understand, learn, try, use efficient
    © Dr.Plch