java_data_lineage/doc/cn/rt_merge_insert.md

378 B
Raw Blame History

Show ResultSet Typesmerge_insert

oracle

merge into t_B_info_bb b
using t_B_info_aa a
on (a.id = b.id and a.type = b.type)
when matched then
update  set b.price = a.price

when not matched then
insert (id, type, price) values (a.id, a.type, a.price) 

显示前:

png

显示后:

png