1. 程式人生 > >oracle Insert 一次插入多條記錄

oracle Insert 一次插入多條記錄

pan rac ora 方法 tab where ble code 兩種方法

oracle Insert 一次插入多條記錄有兩種方法:

1)Insert All Into table_name values ...

insert all
into table_name values(111,122)
into table_name values(222,222)
select 1 from dual;

2)Insert Into table_name select from

insert into table1_name select t1.column_name,111 from table2_name  t1 
where t1.column=
1

oracle Insert 一次插入多條記錄