当前位置:首页 > 数据库 > Sqlserver

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

复制代码 代码如下:

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

执行完后点消息即可。

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐