一条语句批量插入多条数据
假如T_TEST 表只有一个NAME字段
oracle
insert all into T_TEST(NAME) values('张三') into T_TEST(NAME) values('李四') select 1 from dual;
MySQL
insert into T_TEST(NAME)
values ('张三'), ('李四');
insert all into T_TEST(NAME) values('张三') into T_TEST(NAME) values('李四') select 1 from dual;
insert into T_TEST(NAME)
values ('张三'), ('李四');