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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Foreign Key to different schema?

RE: Foreign Key to different schema?

From: Sood, Kamal <Kamal.Sood_at_gbr.xerox.com>
Date: Wed, 22 Nov 2000 09:47:08 -0000
Message-Id: <10688.122706@fatcity.com>


Travis

Yes! you missed the 'references' privilege on that table to the other schema.
You need to execute the statement 'grant references on <TABLE NAME> to <OTHER SCHEMA>.

Thanks
Kamal Sood

-----Original Message-----
From: Glenn Travis [mailto:Glenn.Travis_at_wcom.com] Sent: 22 November 2000 00:36
To: Multiple recipients of list ORACLE-L Subject: RE: Foreign Key to different schema?

I granted select on the table in the other schema, but no luck. Am I missing something here?

> -----Original Message-----
> From: root_at_fatcity.com [mailto:root_at_fatcity.com]On Behalf Of Suneetha
> Kollipara
> Sent: Tuesday, November 21, 2000 5:06 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Foreign Key to different schema?
>
>
> It is possible
> but you should have references privilege on the Master table
> (i.e. table of
> different schema)
>
> > -----Original Message-----
> > From: Glenn Travis [SMTP:Glenn.Travis_at_wcom.com]
> > Sent: Tuesday, November 21, 2000 4:20 PM
> > To: Multiple recipients of list ORACLE-L
> > Subject: Foreign Key to different schema?
> >
> > Is it possible to define a foreign key on a table which
> references a table
> > in a different schema? I tried but got 'insufficient privs' error.
> >
> >
> >
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Glenn Travis
> > INET: Glenn.Travis_at_wcom.com
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Suneetha Kollipara
> INET: SKollipara_at_ahm-usa.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Glenn Travis
  INET: Glenn.Travis_at_wcom.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
Received on Wed Nov 22 2000 - 03:47:08 CST

Original text of this message

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