• tommyh (5/25/2010)


    Nice question.

    Taught me once again that Microsoft has some serious dope available. Doing some semiunicode shit into a normal varchar... damn.

    Even more funny. Doing a Len on this gives 2. So SQL still considers this to be 2 chars. But treats it as 1... hrmm.

    I think it'not semiunicode, it's a funny behviour. It's two characters, but like comparison treat it as one.

    When I've seen it, I was struck.

    Another funny thing is, that this behaviour can be seen only with "Windows" collation. If I have a server with old unsupported SQL collation, it works normally.



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