Re: Hashes from composite keys?
From: Bob Badour <bbadour_at_pei.sympatico.ca>
Date: Fri, 23 Jul 2010 19:44:29 -0300
Message-ID: <4c4a1b51$0$11849$9a566e8b_at_news.aliant.net>
>>Hello,
>>
>>what are the best practices for generating hash codes from composite
>>keys? I need to mimic something like what a composite index does. In
>>fact, it's for mapping between relational keys and object IDs.
>>
>>Can anyone point me into the right direction please?
>>
>>Karsten
Date: Fri, 23 Jul 2010 19:44:29 -0300
Message-ID: <4c4a1b51$0$11849$9a566e8b_at_news.aliant.net>
Karsten Wutzke wrote:
> On Jul 23, 10:14 pm, Karsten Wutzke <kwut..._at_web.de> wrote: >
>>Hello,
>>
>>what are the best practices for generating hash codes from composite
>>keys? I need to mimic something like what a composite index does. In
>>fact, it's for mapping between relational keys and object IDs.
>>
>>Can anyone point me into the right direction please?
>>
>>Karsten
> > OK one last try. Maybe someone has a good tip where hashing algorithms > are discussed?
Eric was wrong when he said hashing is an entire subject. Hashing covers several subjects including data compression and data encryption.
Before you go off to create a hash function, I suggest you take a step back from your task to reconsider what you are doing instead of focusing on how to do it.
If you aer adamant on pursuing hash functions at all costs, I can only observe GIYF (google is your friend). Received on Sat Jul 24 2010 - 00:44:29 CEST