ORACLE DATABASE INTERVIEW QUESTIONS
Course:Oracle
Chapter:Chapter 8 - RDBMS Concepts
Topic:FOREIGN KEY
Questions Count:10
1
What is a foreign key in Oracle?
Explanation:
2
How do you define a foreign key when creating a table in Oracle?
Explanation:
3
What is the purpose of a foreign key in a relational database?
Explanation:
4
How do you add a foreign key to an existing table in Oracle?
Explanation:
5
What happens if you try to insert a value in the foreign key column that does not exist in the referenced primary key column?
Explanation:
6
How do you delete rows in the parent table that are referenced by a foreign key in the child table?
Explanation:
7
How do you handle circular references with foreign keys in Oracle?
Explanation:
8
Can you create a foreign key on a composite primary key in Oracle?
Explanation:
9
How do you disable and enable a foreign key constraint in Oracle?
Explanation:
10
Explain the concept of referential integrity with an example?
Explanation:
