1.列的类型为uniqueidentifier
2.列的默认值可以设为newid()
3.程序里字符转换成guid
string xxx="xxxx-xxxx-xxx";
guid nn= new guid(xxx)
时间: 2024-10-12 07:52:11
1.列的类型为uniqueidentifier
2.列的默认值可以设为newid()
3.程序里字符转换成guid
string xxx="xxxx-xxxx-xxx";
guid nn= new guid(xxx)