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 the syntax and use of the coalesce function?

1160


How do I save a sql query?

1002


Which are the different case manipulation functions in sql?

1016


how many groups of data types? : Sql dba

1016


How to add a column ‘salary’ to a table employee_details?

1006


What information is needed to connect sql*plus an oracle server?

1023


Is like operator in sql case sensitive?

1016


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

991


What is an intersect?

1096


What are aggregate and scalar functions?

1014


Is drop table faster than truncate?

985


What is the plv (pl/vision) package offers?

1041


What are the constraints available in sql?

1044


what is a composite key ? : Sql dba

1045


What is application trigger?

990