编程论坛 » Oracle » 插入数据库之前如何进行一个断判?
版主
搜索更多相关主题的帖子: 数据库 SQL form Insert Select
查看详细资料
TOP
merge into (select a,b,c,d from a) t1 using (select a,b,c,d from b) t2 on(t1.a=t2.a)when not matched theninsert (t1.a,t1.b,t1.c,t1.d)values (t2.a,t2.b,t2.c,t2.d);
新手上路