Creating composite primary key in SQL Server

后端 未结 4 2038
天涯浪人
天涯浪人 2020-12-09 09:45

How to add composite primary keys in SQL Server 2008?

I have a table as follows.

testRequest (wardNo nchar(5)
            , BHTNo nchar(5)
                   


        
4条回答
  •  庸人自扰
    2020-12-09 10:02

    it simple, select columns want to insert primary key and click on Key icon on header and save table

    happy coding..,

提交回复
热议问题