1.

What is the difference between primary key and unique key and foreign key in Oracle?

Answer»
S.noPrimary KEYUnique KeyFOREIGN Key
1.Cannot have a NULL valueIt can have a NULL valueIt can accept the NULL value
2.It is a clustered indexIt is a non-clustered indexThe Index is manually created whether clustered or non-clustered
3.The Primary key can only be 1 in a tableThe Unique key can be more than 1 in a tableThe Foreign key can be more than 1 in a table


Discussion

No Comment Found