I want to build an employees table using SQL SERVER 2008 , and in my table I want to have an ID for each employee .
SQL SERVER 2008
I heared about GUID and
The GUID in sql server is known by UNIQUEIDENTIFIER data type. below is the desired code.
CREATE TABLE Employees ( Id UNIQUEIDENTIFIER PRIMARY KEY, Name NVARCHAR (50) not null ) GO