SQLServer 查看SQL语句的执行时间
方法一:
PRINT GETDATE()
方法二:
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
方法一:
PRINT GETDATE()
方法二:
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