How to add composite primary keys in SQL Server 2008?
I have a table as follows.
testRequest (wardNo nchar(5) , BHTNo nchar(5)
How about this:
ALTER TABLE dbo.testRequest ADD CONSTRAINT PK_TestRequest PRIMARY KEY (wardNo, BHTNo, TestID)