Sql Execution Timing

MSSQL 2008 ve üzeri sorgu süresini hesaplama

1
2
3
4
5
Declare @StartTime DateTime = GetDate()

-- my SQL calls

Print 'Time taken was ' + cast(DateDiff(millisecond, @StartTime, GetDate()) as varchar) + 'ms'
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×