SQL server生成随机ID的方法 【1】【newid】

update 表名 set 字段=newid();

生成的字段为随机id

 

 

posted @ 2021-08-27 17:21  一块冷牛排  阅读(859)  评论(0)    收藏  举报