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: Oracle utility to quickly compare two tables

Re: Oracle utility to quickly compare two tables

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 18 May 1999 20:53:20 +0100
Message-ID: <927057542.8124.3.nnrp-01.9e984b29@news.demon.co.uk>


To cover all the differences you need to do it both ways, viz:

(
Select * from Schema1.Table1
MINUS
Select * from Schema2.Table2
)
union all
(
Select * from Schema2.Table2
MINUS
Select * from Schema1.Table1
)

--

Jonathan Lewis
Yet another Oracle-related web site: www.jlcomp.demon.co.uk

Mike Rose wrote in message ...
>
>Select * from Schema1.Table1
>MINUS
>Select * from Schema2.Table2
>
Received on Tue May 18 1999 - 14:53:20 CDT

Original text of this message

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