Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: What Sort of Privilege?
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
![]() |
![]() |