sqlserver中GUID的默认值设置

sqlserver中GUID的默认值设置

YID             uniqueidentifier     not null default (NEWSEQUENTIALID()),  //有序GUID(只能用于表设计的时候的默认值,不能用于赋值)
YID             uniqueidentifier     not null default (NEWID()),  //无序GUID
posted @ 2015-11-04 12:15  iDEAAM  阅读(4927)  评论(0编辑  收藏  举报