程序对关系型数据库批量操作

一、批量插入

1.1、oracle批量插入

insert into test(name)
select * from
(select '111' from dual
union all select '222' from dual
union all select '333' from dual
union all select '444' from dual)

猜你喜欢

转载自www.cnblogs.com/chenweichu/p/10061616.html