in reply to Full DB Table Compare

If you use TIE::DBI, you could turn it into a comparison of two hashes.

Replies are listed 'Best First'.
Re: Re: Full DB Table Compare
by eduardo (Curate) on Sep 21, 2001 at 19:41 UTC
    Does Tie::DBI read the entire recordset into memory? If so, then this might not be a good way to do it for anything other than small tables. I remember once when I took a COBOL class we had to do a comparison like this, what we ended up doing was doing a sort of the two data structures and then a walk through and reconciliation the two sets of records... that may be a better way to do it if Tie::DBI swallows the whole thing into core.
      No, I don't think it loads the whole thing into RAM. It's not all that fast either, but it might simplify the process.