RE: [Q] create foreign key problem???

  • From: "Reidy, Ron" <Ron.Reidy@xxxxxxxxxxxxxxxxxx>
  • To: <mccdba1@xxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 20 Jan 2005 15:06:40 -0700

Create the index separately.

Ron Reidy
Lead DBA
Array BioPharma, Inc.

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of dba1 mcc
Sent: Thursday, January 20, 2005 2:52 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: [Q] create foreign key problem???

I tried to create foreign ley constraint with index
using following command:

alter table spinfo add constraint fk11 foreign key
(cbnum) references primary_info using index tablespace

I got "ORA-01735: invalid ALTER TABLE option" on
"using index tablespace idx_space".  How to use "using
index space" with foreign key?


Do you Yahoo!?=20
Yahoo! Mail - You care about security. So do we.=20

This electronic message transmission is a PRIVATE communication which =
information which may be confidential or privileged. The information is =
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
or use of the contents of this information is prohibited. Please notify =
sender  of the delivery error by replying to this message, or notify us =
telephone (877-633-2436, ext. 0), and then delete it from your system.


Other related posts: