Code Test from Edge

  • Win10, 38.14.xx

    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