|
Re: Primary Key Hash help: msg#01089lang.ruby.general
> As it's a hash, of course, it is not guaranteed to generate unique > values for unique rows. In practice I'd be very(!) surprised if you > got a clash, but it it was crucially important that keys were > one-to-one with records you might want to find an alternative. Yeah, I did a little reading between there and here -- it does seem quite unlikely, but possible. Is there an alternative that's in the same ballpark, but not what angus suggested? I'm guessing not -- unless there was something inherent in my dataset that I could take advantage of. I'll probably go with MD5 -- for my needs I'd be able to detect a duplicate hash should it ever occur and deal with it then. Chris
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Fun with shifting bytes / Python translation, Mathieu Bouchard |
|---|---|
| Next by Date: | RE: Fun with shifting bytes / Python translation, Firestone, Mark - Technical Support |
| Previous by Thread: | Re: Primary Key Hash help, Dave Thomas |
| Next by Thread: | Re: Primary Key Hash help, Jim Freeze |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |