mssql insert into 和insert into select性能比较
摘要:使用insertintotable(field,...)values(value,...),insertintotable(field,.....
使用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毫秒上下徘徊。
【mssql insert into 和insert into select性能比较】相关文章:
★ sqlserver巧用row_number和partition by分组取top数据
★ SQLSERVER2008中CTE的Split与CLR的性能比较
★ .NET Framework SQL Server 数据提供程序连接池
★ 详解SQLServer 2008 R2数据库SSAS建模及扩展能力
上一篇:
sql2005 存储过程分页示例代码
下一篇:
SQL2000 全文索引完全图解