-- MYSQL SELECT UUID(); -- 将'-'符号替换掉 SELECT REPLACE(UUID(), '-', '');
-- SQL SERVER SELECT NEWID(); -- 将'-'符号替换掉 SELECT REPLACE(NEWID(), '-', '');
-- 注: INSERT INTO tb_user ([id], [name], [sort_number], [valid]) VALUES (replace(newid(),'-',''), '张三', 1, 1);