Is primary key = unique key,not null?
If yes,please explain
IF No,please explain

Answer Posted / chandrika

if we define unique key column to not null
then first attempt it not allow to insert null value in
column but after inserting once we can edit its value to
null even if it is not null ( means its allow null)

if we assign primary key then its not allow (in every
situation it not allow null and duplication)

that is main difference between unique key and primery key

Is This Answer Correct ?    0 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between char and nchar in oracle?

611


What is oracle open database communication (odbc)?

565


Explain joins in oracle?

571


How do we get field details of a table?

562


How to use regular expression in pattern match conditions in oracle?

587






is there a tool to trace queries, like profiler for sql server?

622


How to define and use table alias names in oracle?

518


Explain temporal data types in oracle

621


When system tablespace is created?

614


What is background process in Oracle?

636


What is integrity and what is constraint??Explain with example

1710


How to unlock the sample user account in oracle?

566


How to use existing values in update statements using oracle?

556


What is enter substitution variable in oracle?

581


What is Virtual Private Database in Oracle?

633