Difference between primary key and unique key ?

Answer Posted / anuradha

The unique column constraints permits multiple entries of
null in the column. these null values are clubbed at top of
column in order they were entered into table. this is
essential difference .

Table have more than 1 unique key which is not possible in
primary key

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use select statement to count the number of rows in oracle?

557


How to invoke the data pump export utility?

563


What is primefaces used for?

559


What are the restrictions in a oracle read only transaction?

574


What is translate in oracle?

621






What do you mean by merge in oracle and how can we merge two tables?

577


What to do if dba lost the system password?

601


How to use group functions in the select clause using oracle?

595


Explain parameter file in oracle.

580


How to create a table index in oracle?

662


What is an Oracle index?

1177


How do I uninstall oracle client from windows?

536


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1674


How to join two tables in a single query using oracle?

566


What is meant by raw datatype?

572