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
Is global asax mandatory?
What are directives in asp.net?
What is the behavior of a Web browser when it receives an invalid element?
How to store checkbox value in database in asp.net mvc? : Asp.Net MVC
I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.
What are the new data controls in asp.net 2.0?
What is session and application variable in asp net?
What is the difference between GridView and Repeater controls in ASP.NET?
How can you implement encapsulation in asp.net?
in which protocol ASP.NET WEB API Work?
What is the benefit of WebAPI over WCF?
How does a content page differ from a master page?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?
Define session in asp.net.
What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?