篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql SET STATISTICS IO.sql相关的知识,希望对你有一定的参考价值。
-- turns on statistics in the Messages tab in SQL Server Management Studio, allowing you to see how many reads the query completes. This allows you to see the efficiency of a particular query. Logical reads is the number you want to look for.
SET STATISTICS IO ON;
-- you can also select the Include Actual Execution Plan button (Ctrl + M) to add another tab for Execution Plan, which gives you information as to how the query is completed by the engine.
以上是关于sql SET STATISTICS IO.sql的主要内容,如果未能解决你的问题,请参考以下文章