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: Diffing two equivalent tables

Re: Diffing two equivalent tables

From: Oracleguru <oracleguru_at_mailcity.com>
Date: Wed, 05 Aug 1998 16:54:46 GMT
Message-ID: <01bdc0a1$6b4e4080$a504fa80@mndnet>


You can also do this, please check the syntax:

select * from A
where (column1, column2) in
(select column1,column2, column3 from A minus
select column1,column2, column3 from B );

www.oracleguru.net

Rodger Talevski <Talevski.Rodger_at_cabs.com.au> wrote in article <6q8ebb$lpq$1_at_news.mel.aone.net.au>...
> Hi all,
>
> I have two indentical tables with unique names. I want to find the
> differences between the tables on a row by row basis.
>
>
> ie Table A and Table B
>
> select *
> from A, B
> where ....
>
> Resultset
>
> Difference between A, B on row , by row basis.
>
> Cheers
> Rodger
>
>
>
Received on Wed Aug 05 1998 - 11:54:46 CDT

Original text of this message

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