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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Comparing Tables?

Re: Comparing Tables?

From: Ian Cary <cary_at_gatwick.geco-prakla.slb.com>
Date: 1997/11/14
Message-ID: <346C4C62.D32DDB23@gatwick.geco-prakla.slb.com>#1/1

M. Hunter wrote:

> Is there an Oracle command or utility to compare the data in 2
> tables (same structure) and report any differences.

You could always try

( select * from tab1 minus select * from tab2 ) union
( select * from tab2 minus select * from tab1 )

Regards,

Ian Received on Fri Nov 14 1997 - 00:00:00 CST

Original text of this message

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