How to create a Global Unique Identifier as PK


How can I setup a table with GUID as PK for MS SQL Server?

Can somebody provide me the syntax. I was not able to find it in the dbdiagram manual.

Thanks in advance.

You can use this syntax to setup the table in DBML and then export SQL SERVER to create a table with GUID as PK for MSSQL Server.


It works as expected!

Many thanks for the quick repsonse.