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

ORA-01687: specified logging attribute for tablespace 'string' is same as the existing

1 Answers  


TNS-12166: TNS:Client can not connect to HO agent.

1 Answers  


PLS-00321: expression 'string' is inappropriate as the left hand side of an assignment statement

1 Answers  


PLS-00704: 'string' must be declared as an exception

1 Answers  


ORA-19667: cannot do incremental restore of datafile string

1 Answers  






ORA-09845: soacon: Archmon unable to open named pipe.

1 Answers  


QSM-00802: An error occurred while implementing action string (string) string.

1 Answers  


ORA-26669: parameter string inconsistent with parameter string

1 Answers  


LSX-00167: defining form of "~S" must occur at the top level

1 Answers  


PCC-02315: cannot evaluate expression as constant

1 Answers  


ORA-06559: wrong datatype requested, string, actual datatype is string

1 Answers  


NNO-00267: warning: configuration database contains no data for server "string"

1 Answers  


Categories