mysql生成UUID

1.在数据库中试用UUID

update seat_list set gkey = replace(UUID(),"-","") where flag = 0;

2.mysql生成UUID

select REPLACE(UUID(),"-","");

posted @ 2019-10-18 00:08  小菜鸡的梦想  阅读(348)  评论(0编辑  收藏  举报