ITeye博客

把db2中的主键值后几位替换掉

haofenglemon · 2010-12-31 12:50 · 数据库 · 数据库 · DB2 · Markdown

update table set mainid=substr(id,1,M)||‘000’ where dept=‘’;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。