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 is control file used for?

611


How to call a stored function with parameters?

568


Explain about functional dependency and its relation with table design?

560


What is difference between truncate and delete?

569


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

608






You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

1452


What is an index associated with a constraint?

558


What is the difference between sharding and replication?

491


How to convert characters to dates in oracle?

567


How to define a cusotmer as a supplier in ORACLE R12

1730


What is oracle data type?

565


How to start instance with a minimal initialization parameter file?

546


What are the differences between blob and clob in oracle?

592


What are operators in oracle?

536


How to assign values to data fields in record variables?

592