SQL Server Management Studio, how to get execution time down to milliseconds

后端 未结 8 1546
花落未央
花落未央 2020-12-07 07:08

When I submit a batch (e.g., perform a query) in SSMS, I see the time it took to execute in the status bar. Is it possible to configure SSMS to show the query time with mill

8条回答
  •  死守一世寂寞
    2020-12-07 08:02

    I don't know about expanding the information bar.

    But you can get the timings set as a default for all queries showing in the "Messages" tab.

    When in a Query window, go to the Query Menu item, select "query options" then select "advanced" in the "Execution" group and check the "set statistics time" / "set statistics IO" check boxes. These values will then show up in the messages area for each query without having to remember to put in the set stats on and off.

    You could also use Shift + Alt + S to enable client statistics at any time

提交回复
热议问题