当前位置: 移动技术网 > IT编程>数据库>MSSQL > mssql insert into 和insert into select性能比较

mssql insert into 和insert into select性能比较

2017年12月12日  | 移动技术网IT编程  | 我要评论

寻狗启事,杨俊毅的老婆,拉风堂

使用insert into table(field, ...)values(value, ...),insert into table(field, ...)values(value, ...)...的情况

 

使用insert into table(field, ...)select(value,...) union all select(value,...) union all select(value,...) ...的情况

我一次插入的数据是:1190条。用insert into所用的时间在510毫秒上下徘徊,而用insert into select所用的时间在16毫秒上下徘徊。

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网