SQL Server 中查看SQL句子执行所用的时间_mssql数据库教程-查字典教程网
SQL Server 中查看SQL句子执行所用的时间
SQL Server 中查看SQL句子执行所用的时间
发布时间:2016-12-29 来源:查字典编辑
摘要:复制代码代码如下:setstatisticsprofileonsetstatisticsioonsetstatisticstimeongo你...

复制代码 代码如下:

set statistics profile on

set statistics io on

set statistics time on

go

你执行的SQL语句

复制代码 代码如下:

go

set statistics profile off

set statistics io off

set statistics time off

执行完后点消息即可。

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新mssql数据库学习
    热门mssql数据库学习
    编程开发子分类