sql语句执行效率监控
2018-03-07 本文已影响0人
落叶de故事
监控代码:
set statistics profile on
set statistics io on
set statistics time on
GO
/*SQL脚本开始*/
SELECT * FROM [Table]
/*SQL脚本结束*/
GO
set statistics profile off
set statistics io off
set statistics time off
GO
执行效果:
