SyntaxFix
Write A Post
Hire A Developer
Questions
DECLARE @StartTime datetime DECLARE @EndTime datetime SELECT @StartTime=GETDATE() -- Write Your Query SELECT @EndTime=GETDATE() --This will return execution time of your query SELECT DATEDIFF(MS,@StartTime,@EndTime) AS [Duration in millisecs]
You can also See this solution