Difference between primary key and unique key ?

Answer Posted / anand b

Primary Key : Is an identity of a row, Only one primary key per table, No duplicate values allowed, & No NULL values are allowed.

Unique Key : Its values are unique, It can contain any number of NULL values unless combination is going to be unique.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a trigger example in oracle?

765


What is the quickest way to export a table to a flat file?

734


Explain the use of indexes option in imp command.

757


How can windows applications connect to oracle servers?

697


How to start your 10g xe server?

765


What do you understand by a database object?

779


What are the different types of trigger and explain its various uses and functions?

729


What are set operators?

815


How do I limit the number of oracle database connections generated by weblogic server?

787


How to use an explicit cursor without open statements?

787


15. Display the item_cost and then truncate it to the nearest hundred, ten, unit, tenth and hundredth.

1979


What query tells you how much space a tablespace named test is taking up, and how much space is remaining?

1979


How do I uninstall oracle 11g?

773


What are the differences between number and binary_float in oracle?

794


Describe an oracle table?

781