Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Best way to compare contents of two tables?

Re: Best way to compare contents of two tables?

From: Joe Rogers <joer_at_renewal-iis.com>
Date: 1997/01/24
Message-ID: <32E934CF.724B@renewal-iis.com>#1/1

Lindsberger Franz wrote:
>
> The Mailman wrote:
> >
> > What is the best way to compare the contents of two tables to ensure that
> > their data exactly reflects each other?
> >
> > Thanks for any info regarding this topic.
> >
> > Joe
>
> Try this:
> write a PL/SQL-Procedure using records. Fetch your TABLE1
> into RECORD1 and TABLE2 into RECORD2 and compare them
> (IF record1 = record2) THEN ....
> good luck from AUSTRIA

That doesn't work. You can't compare records with a simple = sign. If anyone at Oracle is listening, it sure would be nice, though.

-- 
Joe Rogers
Intelligent Information Systems, Inc.
joer_at_renewal-iis.com
Received on Fri Jan 24 1997 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US