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...

Can a table have two primary keys?

Answer Posted / subbarayulu

No, a table should allows only one primary key with the
properties of NOT NULL + UNIQUE . But user can be able to
give more than one primary keys in a table with the help of
NOT NULL and UNIQUE KEYs but not directly using PRIMARY KEY
constraint.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql queries used for?

1007


Is it possible to create startup or shutdown trigger for on-schema?

1011


What will you get by the cursor attribute sql%notfound?

1040


what is bdb (berkeleydb)? : Sql dba

1009


What has stored procedures in sql?

1046


What is the difference between between and in condition operators?

985


What is bulk compiling in pl/sql.?

1109


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2461


What are the different types of constraints?

1154


What does an inner join do?

1160


What is the main reason behind using an index?

1001


how can we optimize or increase the speed of a mysql select query? : Sql dba

923


How to select unique records from a table?

1037


Which join is default?

935


What is the difference between having and a where in sql?

1080