When can an insert of a new primary key value threaten
referential integrity?

Answers were Sorted based on User's Feedback



When can an insert of a new primary key value threaten referential integrity?..

Answer / naveen

When this primary key is also a foreign key to another
table and that table is not having the value you are trying
to insert.

RI constraint doesn't allow you to insert a primary key
value into your table if its not present in table your are
having constraint with

Is This Answer Correct ?    4 Yes 0 No

When can an insert of a new primary key value threaten referential integrity?..

Answer / pawan

when the value violates the rule of primary key....new
insert value must be unique.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More DB2 Interview Questions

What is a trigger in the db2 database?

0 Answers  


What is dclgen (declaration generator)?

0 Answers  


which is the most efficient tablespace?? a.simple tablespace. b.partitioned tablespace. c.segmented tablespace. d.none of the above. please post answer with the reason.?

3 Answers  


Suppose if I need to update a column, how you do that using cursor?

2 Answers   Verizon,


What are the contents of a dclmgen?

0 Answers  






what is the role of the cursor in db2?

0 Answers  


What is package in cobol db2?

0 Answers  


List some fields from sqlca?

0 Answers  


What is dpf in db2?

0 Answers  


Which component is responsible for db2 startup and shutdown?

0 Answers  


what's the error code for Unique Index Violation?

2 Answers  


Name some fields from SQLCA

1 Answers  


Categories