create table t_3 (
[id_3] [int],
[ID2] [INT]
)
t_3如下
ID_3 ID2
1 2
2 2
以下是我在网上搜到的方法但不行
insert all
INTO t_3 VALUES('1','2')
INTO t_3 VALUES('2','2')
select * from dual
------解决思路----------------------
INTO t_3(ID_3,ID2)
SELECT 1,2
UNION ALL SELECT 2,2
create table t_3 (
[id_3] [int],
[ID2] [INT]
)
insert all
INTO t_3 VALUES('1','2')
INTO t_3 VALUES('2','2')
select * from dual
INTO t_3(ID_3,ID2)
SELECT 1,2
UNION ALL SELECT 2,2