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 common oracle dba tasks?

855


How to load excel data sheet to oracle database

769


What is max rowid in oracle?

781


How to rename an index in oracle?

822


Write a trigger example in oracle?

794


Explain the use of record option in exp command.

758


What is the difference between I and G in Oracle?

807


What is an external table?

784


Describe varray?

838


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

1081


Explain the difference between a procedure and a function?

822


Can sub procedure/function be called recursively?

756


How to resolve the ORA-39133 error in Oracle?

807


What is tns entry?

809


State any two functions of oracle?

806