Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

how to disable primary key?

536805Jan 4 2007 — edited Jan 4 2007
Hi all...
I want to disable primary key .

CONSTRAINT_NAME C STATUS
------------------------------ - --------
BILL_FK01 R ENABLED
SYS_C0091766 C ENABLED
SYS_C0091767 C ENABLED
SYS_C0091768 C ENABLED
SYS_C0091769 C ENABLED
SYS_C0091770 C ENABLED
SYS_C0091771 C ENABLED
SYS_C0091761 C ENABLED
SYS_C0091762 C ENABLED
SYS_C0091763 C ENABLED
BILL_PK01 P ENABLED --- primary key

where i used following command it shows error

alter table bill_info_history
disable constraint bill_pk01;
alter table bill_info_history
*
ERROR at line 1:
ORA-02431: cannot disable constraint (BILL_PK01) - no such constraint


S.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2007
Added on Jan 4 2007
6 comments
14,537 views