Copy paste, Chrome 56.0.29xx CREATE OR ALTER PROCEDURE RunTimeTests AS BEGIN SELECT Taskid, MIN(StartTime), MAX(EndTime), DATEDIFF(MINUTE, MIN(StartTime), MAX(EndTime)), ReferenceDate = '2017-02-23 10:11:47.413' FROM TimeTests GROUP BY Taskid; END; GO
Viewing 0 posts
You must be logged in to reply to this topic. Login to reply