Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need simple HASH-algorithms for Oracle-Database

Chris_R42Jul 6 2022

We want to compare data that is stored in an Oracle-database with data we have in an IBM DB2-Database.
There are two possible methods: line by line (field by field) or column by column.
We are able to aggregate numbers and dates using SUM. But with strings (VARCHAR2) it is more difficult. In DB2 I found the function HASH4 that calculates an integer using ADLER32 or CRC32.
I am able to write ADLER32 with PL/SQL but it is too slow. Having this function given by Oracle it would be easier for me. And I am sure that others will have advantages from this.

Comments

unknown-3194009

Awesome thanks

1 - 1

Post Details