Why is parameterized SQL generated by NHibernate just as fast as a stored procedure?

前端 未结 13 2560
独厮守ぢ
独厮守ぢ 2020-12-14 20:47

One of my co-workers claims that even though the execution path is cached, there is no way parameterized SQL generated from an ORM is as quick as a stored procedure. Any hel

13条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-14 21:20

    Round 1 - You can start a profiler trace and compare the execution times.

提交回复
热议问题