• L' Eomot Inversé (10/16/2012)


    All these methods using [A-Za-z0-9] recognise 139 characters (with the Latin1_General_ci_as collation).

    Now personally I think that's right (although it's a rather complicated pattern to use for the job), but I have met a lot of people (all Americans, I think) who claim that there are only 62 alphanumeric characters and lose their cool when anyone suggests that there are more; I guess these people must insist on using the bin collation instead of a dictionary one, and use the complicated pattern because the simple one delivers 75 characters even with the bin collation.

    There are only 62 alphanumeric characters. The others in your signature don't count. 😛


    My mantra: No loops! No CURSORs! No RBAR! Hoo-uh![/I]

    My thought question: Have you ever been told that your query runs too fast?

    My advice:
    INDEXing a poor-performing query is like putting sugar on cat food. Yeah, it probably tastes better but are you sure you want to eat it?
    The path of least resistance can be a slippery slope. Take care that fixing your fixes of fixes doesn't snowball and end up costing you more than fixing the root cause would have in the first place.

    Need to UNPIVOT? Why not CROSS APPLY VALUES instead?[/url]
    Since random numbers are too important to be left to chance, let's generate some![/url]
    Learn to understand recursive CTEs by example.[/url]
    [url url=http://www.sqlservercentral.com/articles/St