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

Home -> Community -> Usenet -> c.d.o.tools -> Re: select from schema 1 minus select from schema 2

Re: select from schema 1 minus select from schema 2

From: Brian Peasland <peasland_at_edcmail.cr.usgs.gov>
Date: Thu, 16 Nov 2000 16:35:34 GMT
Message-ID: <3A140CD6.6A7A2B31@edcmail.cr.usgs.gov>

Jeff,

Try this:

  SELECT * FROM schemaA.tableX
  MINUS
  SELECT * FROM schemaB.tableY;

HTH,
Brian

Jeff Kish wrote:
>
> I am using Pro-c (and need to know if this is possible), but this
> could be extended to a general question I guess.
>
> Is it possible to create a result set from selecting from a table in
> one schema and minus'ing a select of identical column types from a
> table in another schema?
>
> Thanks
> Jeff
> e-mail replies are appreciated.
 

-- 
========================================
Brian Peasland
Raytheons Systems at
  USGS EROS Data Center
These opinions are my own and do not
necessarily reflect the opinions of my 
company!
========================================
Received on Thu Nov 16 2000 - 10:35:34 CST

Original text of this message

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