Hi
I got error while exec the query
Im on SQL 2005 Sp2
Msg 170, Level 15, State 1, Procedure dba_QueryTimeDelta, Line 43
Line 43: Incorrect syntax near 'MAX'.
Msg 156, Level 15, State 1, Procedure dba_QueryTimeDelta, Line 97
Incorrect syntax near the keyword 'END'.