星空网 > 软件开发 > 数据库

oracle 高级update

merge into table_c c using table_m m on(c.username = m.username) when matched then update set c.userId = m.id;   ------将table_m中的id字段设置到table_c中userId字段

spool /tmp/insert2.log; ----设置执行日志文件

spool off; ------关闭日志




原标题:oracle 高级update

关键词:oracle

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流