ktaranov/sqlserver-kit

Improve procedure sp_BenchmarkTSQL

ktaranov opened this issue · 1 comments

Improve procedure https://rebrand.ly/sp_BenchmarkTSQL:

  • Add new column to Bencmark table - FinishBencmarkTime, rename column StartTimeStamp on StartBencmarkTime
  • Rename variable @startTime on @startBenchmarkTime
  • rename all variables to understandable names
    • @r
    • @rts
    • @dateTimeFun on dateTimeFunction
  • Add in Benchmark finished at print Duration of benchmark = @startBenchmarkTime - FinishBenchmarkTime

Fixed via 3f3040a