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 many validators do ASP.NET have?

1090


What is AutoEventWireup attribute for ?

1015


Is asp.net free?

990


what is silver light when will we use silver light,

1903


What is http post action?

1008


What is the equivalent of date() and time() in asp.net?

979


What do you mean by caching in asp.net?

1022


What is web api and why to use it?

1063


Can you change a Master Page dynamically at runtime?

956


What are the various types of cookies in asp.net?

1011


What is data control in asp.net?

1015


What is the behavior of a Web browser when it receives an invalid element?

1109


What are the various session state management options provided by asp.net?

981


Where are session variables stored?

958


What is the main difference between Asp.net and Vb.net?

1044