计算sql语句的查询时间

set statistics profile on
set statistics io on
set statistics time on
go
<这里写上你的语句...>
go
set statistics profile off
set statistics io off
set statistics time off

  

SET STATISTICS TIME ON
...sql
SET STATISTICS TIME off

  

posted @ 2015-08-19 15:19  天空中一朵艳阳  阅读(203)  评论(0编辑  收藏  举报