Difference between primary key and unique key ?

Answer Posted / jeyasree

* Only one primary key is allowed per table (any number of
unique keys are allowed).
* Primary key columns automatically become NOT NULL (unique
keys can contain nulls).
* UNIQUE and DISTINCT are synonymous in a SELECT list.

Is This Answer Correct ?    82 Yes 45 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between lov and list item?

559


master table and child table performances and comparisons in Oracle ?

1664


How to view existing locks on the database?

545


How to display employee records who gets more salary than the average salary in the department?

594


How to loop through a cursor variable?

567






How to store pictures on to the database?

526


How index is implemented in oracle database?

592


What is a tns service name?

534


Explain self joins in oracle?

558


What are the attributes that are found in a cursor?

649


What is connection pooling in oracle?

552


How will you write a query to get a 5th rank student from a table student_report?

1374


What are the oracle built-in data types?

560


How to update a table row with a record?

597


What is a table index?

561