Difference between primary key and unique key ?

Answer Posted / ela tiku

1. Primary key does not allow Nill value whereas Unique key
allows Null values.

2. There can more than one Unique key for a table however
there is only one primary key for ant tanle.

2. Whenever a primary key is assigned by default a
Clustered Index is created whereas When a Unique key is
created a Non Index clustered index is created...

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the most common interview questions on ETL Testing for experience?

597


List the types of joins used in writing subqueries?

573


Where are the settings stored for each instance in oracle?

629


How to apply filtering criteria at group level in oracle?

587


What is a lookup table in oracle?

542






What happens to the current transaction if the session is ended?

527


Explain the difference between sap and oracle?

575


What is the oracle implicit cursor?

596


What is the scope of a local variable?

585


what's query optimization and without use of IN AND Exist can we get another way data from query

1670


How many data types are supported?

622


What is the use of aggregate functions in oracle?

581


What is recovery manager(rman) backup in Oracle?

629


What is bulk collect in oracle?

556


What is ASM (Automatic Storage Management) in Oracle?

714