Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is recursive stored procedure? : Sql dba

987


What is scope and visibility in PL/SQL?

1204


What is normalization? How many normalization forms are there?

1086


Does mysql support pl sql?

1175


How to test for null values?

1053


When sql appeared?

1102


Is join an inner join?

976


How do you create a unique index?

1049


What are different types of queries in sql?

1121


What is the use of stored procedures?

1053


How can you create an empty table from an existing table?

1080


explain advantages of myisam over innodb? : Sql dba

1069


What is the difference between mdf and ndf files?

1119


what is sql profiler? : Sql dba

1048


What is primary key secondary key alternate key candidate key?

1037