MSSQL 如何查看SQL语句的执行时间(判断SQL语句的效率)

View Code
SET STATISTICS io ON
SET STATISTICS time ON
go

--这里写你的SQL语句

go
SET STATISTICS profile OFF
SET STATISTICS io OFF
SET STATISTICS time OFF
posted @ 2012-12-06 23:40  zxin  阅读(976)  评论(0编辑  收藏  举报