sqlserver中GUID的默认值设置

sqlserver中GUID的默认值设置

YID             uniqueidentifier     not null default (NEWSEQUENTIALID()),  //有序GUID(只能用于表设计的时候的默认值,不能用于赋值)
YID             uniqueidentifier     not null default (NEWID()),  //无序GUID
原文地址:https://www.cnblogs.com/haoliansheng/p/4935573.html