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: Help with query across schema in TOAD

Re: Help with query across schema in TOAD

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Mon, 2 Oct 2006 18:06:37 GMT
Message-ID: <J6Isz2.K5D@igsrsparc2.er.usgs.gov>


zwasdl_at_gmail.com wrote:
> I'm new to TOAD for Oracle. How can I create a query which gets data
> from tables in different schema?
>
> Thanks,
>
> Wei
>

Provided you have access to that other table, use the schema-dot notation to reference tables owned by someone else. For instance:

SELECT * FROM scott.emp;

Notice "scott." to refer to the EMP table in the SCOTT schema.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Mon Oct 02 2006 - 13:06:37 CDT

Original text of this message

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