复制代码 代码如下:
复制代码
set statistics profile on
set statistics io on
set statistics time on
go
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
go
set statistics profile off
set statistics io off
set statistics time off
执行完后点消息即可。
最后
以上就是欣喜火最近收集整理的关于SQL Server 中查看SQL句子执行所用的时间的全部内容,更多相关SQL内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复