sqlserver检查sql执行时间

set statistics profile on
set statistics io on
set statistics time on
GO

 

select * from mytable;

 

go
set statistics profile off
set statistics io off
set statistics time off

posted @ 2019-05-09 14:13  Ender.Lu  阅读(404)  评论(0编辑  收藏  举报