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
Any disadvantages in Dataset and in reflection ?
Which method is used to perform all validation at the page level?
What is the difference between globalization and localization?
In your ASP.NET 2.0 web application you want to display an image that is selected from a collection of images. What approach will you use to implementing this?
How dataadapter.fill works?
What is localhost in asp.net?
What is Forms Authentication in ASP.NET?
What is the latest version of asp.net?
What are the advantages of Web API?
What is diff. Between abstract class and an interface?
What is the difference between file-based dependency and key-based dependency?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What is the difference between application state and session state in asp net?
What are the cookies types in asp.net?
What are the two properties that are common on every validation control?