SQL Server 中查看SQL句子执行所用的时间
摘要:复制代码代码如下: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
执行完后点消息即可。
【SQL Server 中查看SQL句子执行所用的时间】相关文章:
★ SQL Server 使用 SET FMTONLY ON 获得表的元数据
上一篇:
MySql 安装时的1045错误
下一篇:
模糊查询的通用存储过程