set statistics profile on set statistics io on set statistics time on go <这里写上你的语句...> 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 go set statistics profile off set statistics io off set statistics time off 在2个go之间输入sql语句.然后在消息模式下查看.