Hi John,
Appreacited, If you have really answered the below error at first sight.
Server: Msg 2812, Level 16, State 62, Line 46
Could not find stored procedure 'Insert into #tempTrained EmpID value select distinct EmplNO from tblCurrentWinTrainingLog where 1=1 AND L.quizname = Driver'
Ram