首页 > 数据库技术 > 详细

SQL Server 中查看SQL句子执行所用的时间

时间:2016-01-22 12:50:44      阅读:208      评论:0      收藏:0      [点我收藏+]
复制代码 代码如下:

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句子执行所用的时间

原文:http://www.jb51.net/article/19130.htm

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!