Problems with table-value parameter performance

后端 未结 2 2007
囚心锁ツ
囚心锁ツ 2021-02-04 05:52

I don\'t know whether this is an issue with how I\'m using them or Microsoft\'s implementation, but SQL 2008 table-value parameters are painfully slow.

Generally if I ne

2条回答
  •  甜味超标
    2021-02-04 06:28

    See the section "Table-Valued Parameters vs. BULK INSERT Operations"
    http://msdn.microsoft.com/en-us/library/bb510489.aspx

    Quote: "... table-valued parameters perform well for inserting less than 1000 rows."

    It also has a table to show what technology to use based on the speed of insert operations.

    I hope this helps, good luck.

提交回复
热议问题