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: How to compare data

Re: How to compare data

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Mon, 02 Oct 2006 07:05:15 +0200
Message-ID: <2d71i2lugfl5ar19r1t50jimh5kc9bgrfo@4ax.com>


On Sun, 1 Oct 2006 23:37:30 -0400, "klabu" <klabu_at_gmail_dot_com> wrote:

>Given 2 tables: emp1, emp2,
>- identical structure
>- identical number of rows (assuming with identical PK values)
>But other data are different
>
>You need to find the differences....
>
>How would you
>- compare & find the differences
>- and show them ?
>
>thx
>

join the 2 tables on their pks and test in the where clause the other columns for inequality.
Homework is not supported here.

--
Sybrand Bakker, Senior Oracle DBA
Received on Mon Oct 02 2006 - 00:05:15 CDT

Original text of this message

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