在mssql可以这样
insert into tablefortest(a,b)
select 1,2
union
select 3,4
union
select 5,6
在mysql可以这样
insert into tablefortest(a,b)values(1,2) ,(3,4) ,(5,6) 别的数据库我就不知道了 因为我没有使用过
|
在mssql可以这样 insert into tablefortest(a,b) select 1,2 union select 3,4 union select 5,6
insert into tablefortest(a,b)values(1,2) ,(3,4) ,(5,6) 别的数据库我就不知道了 因为我没有使用过 程序员问答社区,解决您的IT难题
|
||