Difference between primary key and unique key ?

Answer Posted / niranjan dhungia

Primary key doesnot allow null value but unique key allows
null value. We can declare only one primary key in a table
but a table can have multiple unique key(column assign).

Is This Answer Correct ?    1017 Yes 126 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to connect to a remote server?

791


How to write a left outer join with the where clause in oracle?

842


What do database buffers contain?

767


How many types of synonyms in Oracle?

830


What is the use of oracle?

792


List out the types of joins.

853


How to write a query with an inner join in oracle?

790


How to retrieve data from an cursor to a record?

766


How to use select statement to count the number of rows in oracle?

772


Where do we use decode and case statements?

760


How do you get nicely formatted results from an oracle procedure that returns a reference cursor?

818


Explain the use of record length option in exp command.

815


How many categories of data types?

766


What is the difference between $oracle_base and $oracle_home?

811


How to change program global area (pga) in oracle?

849