Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to hash a set of columns ?
I would only add that Oracle do not guarantee that the
dbms_utility.get_hash_value package will not change in future releases
--although I don't believe they have changed it so far...
We use the dbms_obfuscation_toolkit.md5 (from Oracle 8i onwards) as MD5 is a standard hashing algorithm, not only implemented within Oracle but elsewhere too.
regs
Neil.
> > SQL>select dbms_utility.get_hash_value('KU$_CONSTRAINT_COL_LIST_T',100,8000) hashval from dual;
> >
> > HASHVAL
> > ----------
> > 4099
> > .. however, original point being: The values are not guaranteed to be unique. Just be aware of it and take appropriate precautions.
> >
> > Anurag
>
> Jusung & Anurag,
>
> Thank you very much for the replies.
>
> Regards
> S Madhusudhanan
Received on Thu May 08 2003 - 16:49:50 CDT
![]() |
![]() |