Difference between primary key and unique key ?

Answer Posted / chandra bhan kumhar

1. Primary key accepts a value only single time not more then one time means it doesn't allow repetition same as for unique key.
2. Primary key don't allow null values ,but unique key allow null values.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracles. What database recovery options are available? Database is in archive log mode.

1539


Can sub procedure/function be called recursively?

541


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

1791


What are set operators?

648


What is null value in oracle?

638






How to add another datafile to a tablespace?

578


What is the difference between formal parameters and actual parameters?

547


What are the restrictions on external table columns?

552


What is an Oracle Instance?

688


What is using clause and give example?

589


What are the major difference between truncate and delete?

519


How do I spool in oracle?

543


normally database take to refresh time 2 hours. but client asked iwant to refresh with in 5 min that same database. do you have any option in BO and Oracle? explain me briefly...kavi

1744


Explain mutating triggers.

577


How to create an oracle testing table?

592