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
What is the syntax for datagrid and specifying columns?
What is the difference between GridView and Repeater controls in ASP.NET?
What is datagrid asp.net?
What is globalization and localization in asp net?
How you will improve web application performance?
What does a switch do?
What do you mean by serialize and marshalbyref?
How ASP.NET page works?
Hi this is the coding for adding data in to an xml table
i want the coding for update and delete
Try
Dim emp_xml_doc As New XmlDocument
If
System.IO.File.Exists(Server.MapPath("emp.xml")) Then
emp_xml_doc.Load(Server.MapPath("emp.xml"))
Dim myrow_element As XmlElement
myrow_element =
emp_xml_doc.CreateElement("EmpDetails")
Dim str As String
str = "
What is gridview in asp.net?
If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
What is new asp.net core?
Explain security types in asp.net?
What is the difference between the asp and asp.net?