海洋工作室——网站建设专家:How to check the SQL statement execute time on SQL Server ?
Check this,
set statistics profile on
set statistics io on
set statistics time on
go
<Your SQL Statement goes here
>
go
set statistics profile off
set statistics io off
set statistics time off
set statistics io on
set statistics time on
go
<Your SQL Statement goes here
![](https://www.cnblogs.com/Images/dot.gif)
go
set statistics profile off
set statistics io off
set statistics time off