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!

Drop system generated constraint

BurasamiJun 6 2011 — edited Jun 6 2011
Hi All,



In a table I am having primary key called abc_pk for column. Mistakenly i have given the same name for foreign key as abc_pk and executed. As of me if same name for constraint then oracle will generate own constraint name such as sys_co4537.. if it is wrong correct me...

if oracle itself generated constraint name then how to find constraint correct constraint name....

case 1: if it single database i can find it in corresponding table with reference key..as (sys_co4537)
case 2: If i am having more than 2 database then it difficult to find because each database will create different name...

pls suggest me how to drop sys_* constraint from different database..

Thanks & Regards
Sami
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 4 2011
Added on Jun 6 2011
3 comments
3,306 views