Difference between primary key and unique key ?

Answer Posted / susil kumar rout

When we applied primary key constraint upon a column of a table internally oracle create a cluster index.In case of unique constraint,oracle create a non-cluster index.
In a table or entity one primary key and one or more than one
unique key can be applied.
We can't insert duplicate value or null value to primary key
column where as null value can insert into unique key column.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert dates to characters in oracle?

584


What is the use of aggregate functions in oracle?

581


What is instant client oracle?

543


What are the types of trigger in oracle?

577


What is hash cluster in oracle?

596






What is varray?

587


Can the query output be sorted by multiple columns in oracle?

574


What is rich query?

544


How many types of database triggers exist?

577


How to run create database statement again?

623


State and explain the different types of data models?

538


What is oracle thin client?

538


can u plz provide me oca sql dumps please i need them

1469


Can a formula column referred to columns in higher group ?

2089


Explain what are the different type of segments?

580