SQL_Latin1_General_CP1_CI_AS collation

  • I am using SQL_Latin1_General_CP1_CI_AS collation for my servers. It is a case insensitive collation, meaning that A = a, Z = z and so on.

    All works fine except for a set of characters ž and Ž, Ÿ and ÿ, Š and š, Œ and œ.

    For example:

    --Ž is the uppercase for ž:

    select case when UPPER('ž') = 'Ž' then 1 else 0 end --returns 1

    --Ž <> ž

    select case when 'ž' = 'Ž' then 1 else 0 end --returns 0

    Any explanation why the normal behavior is overridden? Is there somewhere a list of characters for which the case insensitive rule does not apply (for SQL_Latin1_General_CP1_CI_AS collation).

    Thanks

  • I am using Latin1_General_CI_AS

    select case when 'ž' = 'Ž' then 1 else 0 end ---- returns 1

    NM

  • Good to know.

    However, I am still stuck with this

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply