六狼论坛's Archiver
首页
›
DB2
› 把db2中的主键值后几位替换掉
haofenglemon
发表于 2013-1-25 21:44:25
把db2中的主键值后几位替换掉
update table set mainid=substr(id,1,M)||‘000’ where dept=‘’;
页:
[1]
查看完整版本:
把db2中的主键值后几位替换掉