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: What Sort of Privilege?

RE: What Sort of Privilege?

From: Justin Cave <justin_at_askddbc.com>
Date: Mon, 23 Aug 2004 15:51:52 -0600
Message-Id: <20040823215331.B772272C512@turing.freelists.org>


You would also need the REFERENCES object privilege.

Justin Cave
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

-----Original Message-----

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Hamid Alavi
Sent: Monday, August 23, 2004 3:45 PM
To: 'Oracle-L (E-mail)
Subject: What Sort of Privilege?

All,

what kind of privilege new for creating a FK constraint which reference table belongs to another schema.

ALTER TABLE PAM.table1
 ADD CONSTRAINT FKCONS1
 FOREIGN KEY (ID)
 REFERENCES schema1.table2 (ID2);

I have grant select,insert,update,delete for table2 BUT still I get insufficient privilege.
any idea?

Hamid Alavi

Office : 818-737-0526
Cell phone : 818-416-5095



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Mon Aug 23 2004 - 16:51:11 CDT

Original text of this message

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