Oracle-merge into(表合并、表同步)

1、

merge into A a useing B b on(a.id=b.id) when matched when update set a.ad_id=b.ad_id

2、

select id into b from a;

posted @ 2020-04-13 17:08  趙楊  阅读(383)  评论(0编辑  收藏  举报