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 u create two Primary key for a table?
--Sivaa

Answer Posted / purushotham

S we can create its called composite key

ALTER TABLE TableName
ADD CONSTRAINT CONSTRAINT _Name
PRIMARY KEY (attribute1,attribute2)

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we create pie chart in asp.net?

1108


what are the web form events available in asp.net?

1089


How do you hide the columns?

1099


Can we store object in viewstate?

1018


Explain the namespace classes used in asp.net mvc? : asp.net mvc

1043


How to use push notification?

1097


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

1073


How do you open a page in a new window?

1020


What is asp.net globalization?

1029


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

1226


What is the difference between dynamic SGA and static SGA?

1240


What is ispostback method in asp.net? Why do we use that?

1319


If iam developing an application that must accomodate multiple security levels though secure login and my asp.net web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users?

1069


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

1022


Why SessionID changes in every request in asp.net?

1016