Difference between primary key and unique key ?

Answer Posted / sunil upadhyay

the basic difference is that primary key can not have null
value whereas Unique key can have null values.two null
value are not same.One table may have more than one Unique
Key Constraint
columns, but should have only one Primary Key Constraint
column.

Is This Answer Correct ?    88 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain self joins in oracle?

788


Can we commit inside a function in oracle?

759


what are actual and formal parameters?

826


Explain the use of indexes option in imp command.

835


Why should I use oracle database?

787


What is program global area (pga) in oracle?

826


How remove data files before opening a database?

794


What are the uses of linked server and explain it in detail?

847


What are the tools for Oracle ?

842


What is a static data dictionary in oracle?

801


How to put more than 1000 values into an oracle in clause?

802


What is logical backup in oracle?

813


Explain the truncate in oracle?

758


What is Segment Advisor in Oracle?

873


How to set up autotrace for a user account?

822