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

NNC-00431: NS address does not match any of the current addresses

1 Answers  


ORA-10621: data block does not belong to the segment

1 Answers  


ORA-26680: object type not supported

1 Answers  


TNS-00535: Failed to send or receive disconnect message

1 Answers  


ORA-38408: The ADT "string" does not exist in the current schema.

1 Answers  






ORA-31477: could not detach LogMiner session during cleanup

1 Answers  


PLS-00378: invalid compilation unit for this release of PL/SQL

1 Answers  


NNL-00349: Configuration will be saved in string

1 Answers  


LCD-00212: runaway quoted string [string]

1 Answers  


DRG-12228: maximum number of field sections (string) exceeded

1 Answers  


RMAN-06057: a standby controlfile cannot be included along with a current controlfile

1 Answers  


ORA-39111: Dependent object type string skipped, base object type string already exists

1 Answers  


Categories