From a4e2111fa2d0a0f8f7835db588a453a6031cd478 Mon Sep 17 00:00:00 2001 From: nikita Date: Tue, 23 Oct 2018 14:19:47 +0530 Subject: [PATCH] for new users/not saved previously the answers were not getting saved in database- fixed --- 500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql b/500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql index f5dcd38..391e360 100644 --- a/500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql +++ b/500-DBDump/AIA-StoredProcedures/usp_SaveLabExerciseAttempts.sql @@ -56,7 +56,9 @@ print @count BEGIN print N'inside if' UPDATE LabExercise set IsActive = 0 where LabExerciseIdentifier = @LabExerciseIdentifier and UserId= @UserId and Id!=@labQuizId +END +BEGIN ----create temp table create table #Temp ( -- libgit2 0.21.4