方法一:

PRINT GETDATE()

SQLServer 查看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

 

SQLServer 查看SQL语句的执行时间

相关文章:

  • 2021-09-04
  • 2021-11-29
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-07-09
相关资源
相似解决方案