When we can declare a column as Unique and Not Null both at
the same time. What is the use pf Primary Key then?

Answers were Sorted based on User's Feedback



When we can declare a column as Unique and Not Null both at the same time. What is the use pf Pri..

Answer / thanga prabu.n

Unique Key creates Non-Cluster index in default,
But in Primary Key creates Cluster index in default

Is This Answer Correct ?    16 Yes 1 No

When we can declare a column as Unique and Not Null both at the same time. What is the use pf Pri..

Answer / swapna

The concept of adding an unique key and not null constraint
to a column as well as adding as unique index to it , you
will assume to get the benefits of adding an primary key
to that column.

But use it for the purpose of referential integrity will
not allow to do so.

That's what PK is so useful. You will use it for
normalization purpose.

Is This Answer Correct ?    12 Yes 6 No

Post New Answer

More SQL PLSQL Interview Questions

Can a varchar be a primary key?

0 Answers  


What is dbo in sql?

0 Answers  


What is the relation b/w view and trigger

3 Answers   Accenture, TCS,


How many sql core licenses do I need?

0 Answers  


Define commit?

0 Answers  






What are Anti joins

1 Answers   IBM,


Differentiate between %type and %rowtype attribute in Oracle PL/AQL programming ?

7 Answers   PreVator,


what is an index? : Sql dba

0 Answers  


Can you join views in sql?

0 Answers  


How do you optimize SQL queries ?

6 Answers   CarrizalSoft Technologies, Infosys, Oracle,


Differentiate between sga and pga.

0 Answers  


What does the acronym acid stand for in database management?

0 Answers  


Categories