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

Give some salient points of difference between request processor and request dispatcher.

618


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1413


Describe session handling in a webfarm, how does it work and what are the limits?

584


What are the different types of sessions in asp.net? Name them?

682


What are the differences between primary foreign and unique keys?

522






What is the difference between session.abandon() vs clear()?

546


What is global.asax file used for?

563


How to change Master page in ASP.Net using code?

598


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

535


Securitywise What are the Enhancements in 2.0?

1492


Why asp.net mvc is better than asp.net? : Asp.Net MVC

499


i have 3+ exp in .net? i am going interview now but they asked me do you know any TOOL? which tool will i study please refer me?

1845


What is server side session management?

528


Explain the flow of processing of the request? : asp.net mvc

537


What is the difference between session object and application object?

594