PATINDEX bug?

  • This is really wierd and I hope someone can shed some light -

    Why does doing this pattern search hit on the lower case 'a'?

    SELECT PATINDEX ('%[¾-À]%', 'abcdefghijk')

    Same this as doing:

    declare @Pattern varchar(250)

    set @Pattern = '%['+char(190)+'-'+char(192)+']%'

    SELECT PATINDEX (@Pattern, 'abcdefghijk')

    Now if I look for these characters individually, it does not find anything..Is this an MS bug?

    Any help is appreaciated, thanks..

  • please do not double post, we are working on your problem


    Everything you can imagine is real.

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

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