Difference between primary key and unique key ?

Answer Posted / mohan singh

Primary key contain non repetitive value and not null
value,and primary key is created on clustered index.In the
table their should be one primary key column.


Unique key contain non repetitive value but can contain
only one null value in the column.And unique key is created
on non clustered index.

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to update values in a table in oracle?

754


Explain the use of owner option in exp command.

763


What happens if the update subquery returns multiple rows?

798


Explain view?

795


What is program global area (pga) in oracle?

782


How to create a new user account in oracle?

778


What is the disadvantage of User defind function?

2023


What is user managed backup in Oracle?

827


what is partitioning? Types of partitioning. explain? what is the new kind of partitioning type introduced in 9i?

2036


Why use resource manager in Oracle?

864


Why do we use coalesce function in oracle?

849


1) Does oracle have any table which contain all the exceptions and it's code internally?

1505


Is oracle an operator?

695


Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables

1785


What is the exact use of Collections?

1891