Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Database
→
Introduction To Database in Database
→
What is the difference between primary key and uni...
1.
What is the difference between primary key and unique key and foreign key in Oracle?
Answer»
S.no
Primary
KEY
Unique Key
FOREIGN
Key
1
.
Cannot have a
NULL
value
It can have a NULL value
It can accept the NULL value
2.
It is a clustered index
It is a non-clustered index
The Index is manually created whether clustered or non-clustered
3.
The Primary key can only be 1 in a table
The Unique key can be more than 1 in a table
The Foreign key can be more than 1 in a table
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Explain self joins in oracle?
What is Oracle join syntax?
Please explain oracle left join with an example?
Please explain joins in oracle?
What is the dynamic SQL in Oracle?
Please explain drop constraint Oracle?
What are the various constraints used in Oracle?
What is translate in Oracle?
How to execute the package in Oracle?
What are packages in pl SQL and also explain its advantages?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies