Difference between primary key and unique key ?

Answer Posted / austin johnson

we can't insert a NULL value into to coloumn holding
primary key constrain.
where as we can insert a NULL value to a unique key feild.
Remember, both keys are used to identify the
rows/tuple/entry of the table uniquely.
so, only once u can enter a NULL value into the unique key
feild.

Is This Answer Correct ?    146 Yes 57 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I create users through internet explorer in oracle 10g?

763


What is background process in Oracle?

815


How do we get field details of a table?

712


Explain the different normalization forms?

791


What is an oracle database?

768






How to drop a tablespace?

730


What is a data lock in oracle?

778


Other than making use of the statspack utility, what would you check when you are monitoring or running a health check on an Oracle 8i or 9i database?

1692


How to define a procedure inside another procedure?

727


What do you mean by merge in oracle?

745


How to turn on or off recycle bin for the session?

804


How to rollback the current transaction in oracle?

752


Explain cascading triggers.

796


How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?

1667


Explain the function of optimizer in oracle?

762