Use of a VARCHAR(MAX) in a Non-Clustered Index?

  • paul.knibbs (1/20/2010)


    Jeff Moden (1/16/2010)

    If you're using certain other methods to do the hashing (I forget what they're called... MD5???), then the additional checking will not be necessary.

    Even with MD5 or other hashing methods there's still a possibility of a checksum clash--it might not be as likely as with a simple XOR checksum but it's still possible. The possibility increases the more characters you have in your string, too.

    Sorry for the late response. Thanks for the info on that. I always wondered what could happen if you put 5 pounds of "stuff" into a smaller bag... it's inevitable that some of the smaller bags have to end up being identical.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing post 16 (of 16 total)

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