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: Gert Rijs <gem_at_wirehub.nl>
Date: 1997/01/21
Message-ID: <01bc07cb$6d10bbe0$515fa5c2@gertrijs>#1/1

Try
select * from tab1
minus
select * from tab2;
it should return 0 rows

        Gert

-- 
At Home: gem_at_wirehub.nl
At Work: gert.rijs_at_corp.ah.nl

The Mailman <defili66_at_futures.wharton.upenn.edu> wrote in article
<5c2q94$4ud_at_netnews.upenn.edu>...

> 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
>
Received on Tue Jan 21 1997 - 00:00:00 CST

Original text of this message

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