how can I use GUID datatype in SQL Server 2008?

前端 未结 7 2147
南旧
南旧 2021-02-18 22:15

I want to build an employees table using SQL SERVER 2008 , and in my table I want to have an ID for each employee .

I heared about GUID and

7条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-18 22:18

    The type is called UNIQUEIDENTIFIER as others have pointed out already. But I think you absolutely must read this article before proceeding: GUIDs as PRIMARY KEYs and/or the clustering key

提交回复
热议问题