ORACLE DATABASE INTERVIEW QUESTIONS
Course:Oracle
Chapter:Chapter 5 - DDL (Data Definition Language)
Topic:UNIQUE CONSTRAINT
Questions Count:10
1
What is a UNIQUE constraint in Oracle?
Explanation:
2
How do you define a UNIQUE constraint when creating a table?
Explanation:
3
What happens if you try to insert a duplicate value into a column with a UNIQUE constraint?
Explanation:
4
How can you add a UNIQUE constraint to an existing table?
Explanation:
5
Can a table have multiple UNIQUE constraints? If so, how does it work?
Explanation:
6
What is the difference between a UNIQUE constraint and a PRIMARY KEY constraint?
Explanation:
7
How can you create a composite UNIQUE constraint on multiple columns?
Explanation:
8
How do you disable and enable a UNIQUE constraint?
Explanation:
9
What is the impact of a UNIQUE constraint on database performance?
Explanation:
10
Explain how to use a UNIQUE constraint in combination with a FOREIGN KEY constraint?
Explanation:
