标签:insert mys name sele tco rom sharp highlight ase
mysql uuid
SELECT LB_MATLISTS_20200120.* from LB_MATLISTS_20200120 GROUP BY matCode // 这样写会重复 select replace(uuid(),"-","") as uuid; insert into scm_material_base(material_id,material_name,standard,material_code) SELECT replace(uuid(),"-",""),MatName,Spec,MatCode from LB_MATLISTS_20200120 GROUP BY matCode insert into scm_material_base(id,material_id,material_name,standard,material_code) SELECT uuid(),uuid(),MatName,Spec,MatCode from LB_MATLISTS_20200120 GROUP BY matCode
mysql uuid insert 重复问题 scm 物资表导入
标签:insert mys name sele tco rom sharp highlight ase
原文地址:https://www.cnblogs.com/hoge66/p/12530076.html