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

How to perform a loop through all tables in pl/sql?

4 Answers   Evosys, MBT,


How well can multiple sessions access the same data simultaneously ?

1 Answers   Oracle,


What is the difference between left join and left outer join?

1 Answers  


what is text? : Sql dba

1 Answers  


How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?

1 Answers  


How do I view a table in sql?

1 Answers  


How do you drop a trigger?

1 Answers  


Does SQL*Plus contains pl/sql Engine?

1 Answers   TCS,


What is bulk collections?

2 Answers  


What is difference between stored procedure and trigger?

1 Answers  


What is blind sql injection?

1 Answers  


Interchange the value of a column Gender in a table where values are Male and Female. So, where the value is Male, it should changed to Female and Female to Male.

4 Answers   Cap Gemini, IBM,


Categories