|
Re: Primary Key Hash help: msg#01086lang.ruby.general
"Chris Morris" <chrismo@xxxxxxxxx> writes: > True - but the result would be of varying length and a bit cumbersome. I was > hoping for something along the lines of what Philipp replied with (MD5 > hash). The MD5 hash is still a little cumbersome, but less than just joining > all the data together. Chris: 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. Dave
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Primary Key Hash help, Sean Middleditch |
|---|---|
| Next by Date: | Re: Ruby Language Q's, Dossy |
| Previous by Thread: | Re: Primary Key Hash help, Chris Morris |
| Next by Thread: | Re: Primary Key Hash help, Chris Morris |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |