Fastest method for SQL Server inserts, updates, selects

前端 未结 6 1513
遇见更好的自我
遇见更好的自我 2020-12-01 02:02

I use SPs and this isn\'t an SP vs code-behind \"Build your SQL command\" question. I\'m looking for a high-throughput method for a backend app that handles many small trans

6条回答
  •  日久生厌
    2020-12-01 02:18

    Fastest for execution time or fastest for programming time? The only thing you could do to increase throughput on #1 is to use multiple threads and connections to do the inserts - you can do this with SQLCommand.BeginExecuteNonQuery

提交回复
热议问题