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

Where the assembly is stored in asp.net?

973


Explain difference between dataset and datareader?

990


What are the server controls in asp.net?

920


What are the steps involved to fill a dataset?

983


Explain the difference between debug.write and trace.write?

937


What are the Types of chaching. How to implement caching

959


What kind of data we can store in viewstate?

1002


Explain the difference between asp.net mvc and asp.net webforms

1024


How can we call webservices in Banking Applications? and where we are using it?

2019


Why asp.net is better than php?

943


What is the current version of asp.net?

960


How will you load dynamic assembly?

947


Is asp.net and .net are same or different?

954


What are the ways of preserving data on a Web Form in ASP.NET?

1047


What is difference between session and viewstate?

856