Difference between primary key and unique key ?

Answer Posted / himanshu porwal

Primary key does not allow null values whereas in UNIQUE constraint we can have 1 null value means for that column one null value is allowed.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you use check constraints for self referential integrity?

526


How do we get field detail of a table?

629


Which dictionary tables and/or views would you look at to diagnose a locking issue?

1490


Give the different types of rollback segments.

583


does the query needs a hint to access a materialized view?

1470






Explain mutating triggers.

577


What is the difference between Delete, Truncate and Drop in Oracle?

606


How many categories of data types in oracle?

607


What is translate in oracle?

623


How to write an inner join with the where clause in oracle?

587


21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.

1624


Can sub procedure/function be called recursively?

543


What is a dead lock in oracle?

600


What are the oracle differences between nvl and coalesce

518


How to execute the package in oracle?

576