what are the advantages of primary key over unique+notnull

Answer Posted / soubhagya

When we create a primary key automatically a cluster index
is created on those columns involved in primary key.But
this index not created in unique+not null key, it only
restrict the duplicate values.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create a trigger on view?

487


How do we use distinct statement? What is its use?

551


Explain the order of sql statement execution?

609


What is example of database?

512


What is sql architecture?

557






what are all the different types of indexes? : Sql dba

526


Can we change the table name in sql?

530


Is sql similar to python?

535


What is substitution variable?

581


Explain the difference between drop and truncate commands in sql?

527


Is sql better than access?

539


What has stored procedures in sql and how we can use it?

563


What are the different ways to optimize a sql query?

484


Can we use ddl commands in pl sql?

554


what is sql in mysql? : Sql dba

569