Difference between primary key and unique key ?

Answer Posted / ark chowdary

7. Primary Key doesnt allow the Null Values. where as in
Unique accept the Null values.
One table may have more than one Unique Key Constraint.
But it sholud have only one Primary Key Constraint column.

Is This Answer Correct ?    77 Yes 47 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a dead lock in oracle?

796


Explain oracle left join with an example?

757


src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

1411


Explain oracle data types with examples?

750


How to specify default values in insert statement using oracle?

787


How to define an anonymous procedure with variables?

740


How to unlock the sample user account in oracle?

714


What is the disadvantage of User defind function?

2021


Can you tell me how to add new column in existing views?how?How is possible?

1118


What do you understand by a database object? Can you list a few of them?

771


Is there a combination of "like" and "in" in sql?

781


How to view existing locks on the database?

760


how to code performance tuning of oracle PL/SQL? can any body send me the perfect answer?

5025


How to drop a tablespace?

730


Is postgres faster than oracle?

774