Free for PREMIUM members
Go Premium for a chance to win a PS4. Enter to Win
ALTER TABLE dbo.Your_Table
ADD CONSTRAINT PK_Your_Table
PRIMARY KEY (COL1, COL2)
Open in new window
Dim cmd As New SqlCommand
Dim Cnx As SqlConnection = New SqlConnection("Your connection String")
.Connection = Cnx
.CommandText = "ALTER TABLE dbo.Your_Table ADD CONSTRAINT PK_Your_Table PRIMARY KEY (COL1, COL2,COL3)"
.CommandType = CommandType.Text
Catch ex As Exception
Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.