ORA-30926: unable to get a stable set of rows in the source tables

来源:互联网 发布:照片底色修改软件 编辑:程序博客网 时间:2024/06/07 11:05

SQL> Merge into tmp_mt p
  2  using mt_kh np
  3  on (p.mtname = np.mtname)
  4  When matched then
  5    update set p.mtjj = np.mtjj;
 
Merge into tmp_mt p
using mt_kh np
on (p.mtname = np.mtname)
When matched then
  update set p.mtjj = np.mtjj
 
ORA-30926: unable to get a stable set of rows in the source tables

 

 

需要确保np.mtname的唯一性,否则会报错

原创粉丝点击