Difference between primary key and unique key ?

Answer Posted / pralhad

Each table having only one PRIMARY KEY.And my contain many
UNIQUE KEYS.
PRIMARY KEY is identity of each row. UNIQUE KEY also
identity of each row.
BOTH keys will not contain repeated value.
BUT UNIQUE KEY will contain NULL value but PRIMAY key will
not contain NULL value.

Is This Answer Correct ?    63 Yes 47 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1624


What is the use of file param in imp command?

646


What is object data modeling?

507


What is parameterized cursor in oracle?

578


What is the difference between a primary key & a unique key?

590






How to create a stored program unit?

583


How to write a query with an inner join in oracle?

564


IS it possible to built the oracle database without setting the kernal parameters?

1763


What happens to the data files if a tablespace is dropped?

578


What is concurrency in oracle?

547


In what script is snap$ created? In what script is the scott/tiger schema created?

2247


How to calculate date and time differences in oracle?

535


How does oracle handle read consistency?

680


how to clone 9i Database on to 10g Database.

1828


What is an oracle data file?

617