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
How can we create pie chart in asp.net?
what are the web form events available in asp.net?
How do you hide the columns?
Can we store object in viewstate?
Explain the namespace classes used in asp.net mvc? : asp.net mvc
How to use push notification?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
How do you open a page in a new window?
What is asp.net globalization?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What is the difference between dynamic SGA and static SGA?
What is ispostback method in asp.net? Why do we use that?
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?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
Why SessionID changes in every request in asp.net?