SqlServer 查询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
在查询分析器中输入以下内容: 
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
