You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--SET @SqlStatement = 'DELETE FROM '+@TableCode+' WHERE (omd_module_instance_id IN '+@ModuleInstanceIdList+') OR (omd_update_module_instance_id IN '+@ModuleInstanceIdList+')';
331
333
--ELSE
@@ -342,7 +344,13 @@ BEGIN
342
344
PRINT'Source Control Rollback SQL statement is: '+@SqlStatement;
343
345
344
346
EXEC (@SqlStatement);
345
-
347
+
END
348
+
ELSE
349
+
BEGIN
350
+
IF @Debug='Y'
351
+
PRINT'No rollback is required for '+@TableCode;
352
+
END
353
+
346
354
-- Not implemented expiry date reset. Insert only!
347
355
--UPDATE <Table Code> SET EXPIRY_DATETIME = '9999-12-31', CURRENT_RECORD_INDICATOR = 'Y' WHERE MODULE_INSTANCE_ID IN <List>;
0 commit comments