can u create two Primary key for a table?
--Sivaa

Answer Posted / monalisa behera

No, we cannot create more than one Primary key for a table.
Composite Primary key as mentioned in the answer by
Purushotham consists of more than one columns together
making a Primary key. In such a case the columns may be
more than one but the Primary key is one.

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where sessions are stored in asp.net?

532


Difference between overriding and overloading?

699


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

584


Explain State management in asp.net

623


What is HTTPModule and HTTPcontext? What is the use of each?

1986






Explain exception filters?

585


Which data type does the rangevalidator control support?

548


Why session is necessary in web application?

509


In ViewState How much lifespan items stored?

589


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

616


Explain Life cycle of ASP.NET page when a request is made.

747


Is it possible to write code in many languages in one asp.net project?

555


How to fetch a data from one table to another table in asp.net ?

577


What are the advantages and disadvantages of Using Cookies?

517


What are validators and list some validators of asp.net?

535