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: query to join two tables in 2 different Oracle schema

Re: query to join two tables in 2 different Oracle schema

From: Gerhard M <notruf_1102003_at_yahoo.de>
Date: 7 Oct 2004 23:26:00 -0700
Message-ID: <942c5b0d.0410072226.7b7a80a2@posting.google.com>


harryooopotter_at_hotmail.co_ (Harry) wrote in message news:<1ng9d.38959$N%.26178_at_edtnps84>...
> schema B: a table "report" with study_id, etc.
>
> select s.study_id, r.report_type
> from study s connected to schema A using userid xxx password yyy,
> report r connected to schema B using userid ppp password qqq
> where s.study_id = r.study_id
>

as study_id is within table report try
SQL> select study_id, report_type from report;

gerhard

... but that's not a post for comp.lang.perl.misc, so please check groups before posting ... Received on Fri Oct 08 2004 - 01:26:00 CDT

Original text of this message

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