首页 > 数据库 > MsSql > SQL Server SQL 执行时间 SQL Server 中查看SQL句子执行所用的时间 2009-07-13 21:47:29 作者: 在MSSQL Server中通过查看SQL语句执行所用的时间,来衡量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 执行完后点消息即可。