File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
020_DIRECT_Framework/Direct_Framework/Stored Procedures Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 8282 SET @Query = REPLACE (@Query,' @ModuleInstanceId' , @ModuleInstanceId)
8383
8484 -- Run the code
85+ DECLARE @RowCount NUMERIC (38 )
8586 EXEC (@Query);
87+ SET @RowCount = @@ROWCOUNT ;
8688
89+ IF @Debug = ' Y' PRINT ' The returned row count is ' + CONVERT (VARCHAR (10 ),@RowCount)
8790 /*
8891 Wrap up
8992 */
9497 -- Module Success
9598 EXEC [omd].[UpdateModuleInstance]
9699 @ModuleInstanceId = @ModuleInstanceId,
100+ @RowCountInsert = @RowCount,
97101 @Debug = @Debug,
98102 @EventCode = ' Success'
99103
@@ -107,6 +111,7 @@ BEGIN
107111 -- Module Failure
108112 EXEC [omd].[UpdateModuleInstance]
109113 @ModuleInstanceId = @ModuleInstanceId,
114+ @RowCountInsert = @RowCount,
110115 @Debug = @Debug,
111116 @EventCode = ' Failure' ;
112117
You can’t perform that action at this time.
0 commit comments