Difference between primary key and unique key ?

Answer Posted / chetan sharma

Primary key creates Clustered Index.
Unique key creates non-clustered Index.

the no of primary key in a table is one but the no of
unique is more then one

there is only one primary key for one table;
it can not acept null values;
any no uniquefor a table;
it can accept null values;
which the rows are unique value;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What operating systems are supported by oracle database 10g xe?

583


Explain about functional dependency and its relation with table design?

556


What happens if the imported table already exists?

549


List out the types of joins.

595


Briefly explain what is literal? Give an example where it can be used?

546






How to work with data objects interactively?

556


How to export data with a field delimiter?

582


What are the attributes that are found in a cursor?

650


What is an oracle?

581


Can you have more than one content canvas view attached with a window ?

1817


How to drop an existing table in oracle?

594


What is clustered table in Oracle?

644


How to convert raw data type into text in oracle? Explain

604


What is oracle open database communication (odbc)?

561


Write a syntax for update query in oracle?

622