天天看點

Oracle 一次性插入多行資料

Insert into  table_name

select 值1,值2,..  from dual

union all

select  值1,值2,..  from dual

例:

在建好的SC表裡插入記錄如下:

01,國文,90;

01,英語,70;

insert into sc

Select '01','國文',90 from dual

Union all

Select '01','英語',70 from dual