ORA-02273: this unique/primary key is referenced by some
foreign keys

Answers were Sorted based on User's Feedback



ORA-02273: this unique/primary key is referenced by some foreign keys..

Answer / muzafar

Query to find the references

select * from all_constraints
where constraint_type='R' and
r_constraint_name='YOUR_CONSTRAINT_NAME';

OR DROP THE PRIMARY AND FORIGN KEY WITH THIS COMMAN

Query to find the references

alter table InISMast drop primary key cascade;

Is This Answer Correct ?    4 Yes 2 No

ORA-02273: this unique/primary key is referenced by some foreign keys..

Answer / guest

Cause: Self-evident.

Action: Remove all references to the key before the key is
to be dropped.

Please add more information about this Error

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Oracle Errors Interview Questions

TNS-01112: Plug and play can either be ON or OFF

1 Answers  


ORA-32620: illegal subquery within MODEL rules

1 Answers  


PCC-00081: Scale specification not allowed for given datatype

1 Answers  


IMP-00009: abnormal end of export file

1 Answers  


EXP-00062: invalid source statements for an object type

1 Answers  


ORA-16055: FAL request rejected

2 Answers  


ORA-02763: Unable to cancel at least one request

1 Answers  


PROT-00807: Please ensure you have file creation privileges in the executing directory before running this tool.

1 Answers  


ORA-02837: Unable to unlink temporary file

1 Answers  


ORA-25958: join index where clause predicate may only contain column references

1 Answers  


RMAN-03033: current log archived

1 Answers  


NZE-29192: Validation mechanism not set in OID

1 Answers  


Categories