IBM
C2090-312 · Question #21
When defining a foreign key on a table, which statement is true?
The correct answer is A. It is not mandatory to have an index on the foreign key columns but it can help to avoid locking. See the full explanation below for the reasoning.
Question
When defining a foreign key on a table, which statement is true?
Options
- AIt is not mandatory to have an index on the foreign key columns but it can help to avoid locking
- BThere is no need to define an index on the foreign key columns as DB2 cannot use an index for
- CIt is not mandatory to have an index on the foreign key columns but it can help performance when
- DYou must define an index on the foreign key columns where the index columns are the same as
How the community answered
(34 responses)- A76% (26)
- B6% (2)
- C15% (5)
- D3% (1)
Community Discussion
No community discussion yet for this question.