求sql怎么一次用insert 添加多条数据
2017-09-17
展开全部
可以这样
INSERT INTO BillInfo
(BillID
,BID
,IWtime
,Storage)
select '1',1,'2012-11-19',100 union all
select '2',1,'2012-11-19',100 union all
select '3',1,'2012-11-19',100 union all
select '4',1,'2012-11-19',100
INSERT INTO BillInfo
(BillID
,BID
,IWtime
,Storage)
select '1',1,'2012-11-19',100 union all
select '2',1,'2012-11-19',100 union all
select '3',1,'2012-11-19',100 union all
select '4',1,'2012-11-19',100
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询