当前位置: 代码迷 >> Oracle开发 >> oracle 数据更新 储存过程,该如何处理
  详细解决方案

oracle 数据更新 储存过程,该如何处理

热度:85   发布时间:2016-04-24 06:43:40.0
oracle 数据更新 储存过程
比如 有A表和B表  根据A表的ID 和B表的ID对比  如果能对上  则B表数据更新对应A表ID 数据 该如何做
------解决方案--------------------
merge into a using b on (a.id=b.id)
when matched then
update set a.c1=b.c1,a.c2=b.c2
  相关解决方案