I was going to suggest MD5 as well. Though I was thinking of the Perl version.

The DBMS_OBFUSCATION version is fine, but I was thinking of the unload 
method.

Chris, how are you creating the flat files?  UTL_FILE?  SqlPlus?

Perl is much faster than sqlplus, dunno about UTL_FILE, as I haven't
compared them for speed. (yet)

PL/SQL also requires about 10x more code for this kind of thing than Perl.

You *could* just modify the sqlunldr.pl script in "Perl for Oracle DBA's" to 
add MD5 checksums at the beginning of the line.  You could also easily\
MD5 the entire file in one line of code.

If you're using C, well, you're just working too hard.  ;)

Jared

On Thursday 24 October 2002 15:24, Tim Gorman wrote:
> RE: Flat file generation integrity ideas...DBMS_OBFUSCATION_TOOLKIT has an
> (undocumented) function called MD5 which uses that protocol (MD5) to
> calculate checksums.  Look at $OH/rdbms/admin/dbmsobtk.sql... -----
> Original Message -----
>   From: Jamadagni, Rajendra
>   To: Multiple recipients of list ORACLE-L
>   Sent: Thursday, October 24, 2002 12:46 PM
>   Subject: RE: Flat file generation integrity ideas...
>
>
>   you could also use dbms_utility.get_hash_value ... to compute hash value
> for the whole row and store that as an additional column. Be syre to use
> the same parameters on both sides to compute and test, else it will fail
> the check.
>
>   Raj
>   ______________________________________________________
>   Rajendra Jamadagni              MIS, ESPN Inc.
>   Rajendra dot Jamadagni at ESPN dot com
>   Any opinion expressed here is personal and doesn't reflect that of ESPN
> Inc. QOTD: Any clod can have facts, but having an opinion is an art!

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to