Skip to content

Commit ddff7a1

Browse files
committed
fix #45
update post deploy with correct column name
1 parent 04df80e commit ddff7a1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Direct_Framework/DeploymentScripts/3-PostDeployment/omd_metadata.INTERNAL_PROCESSING_STATUS.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ SET NOCOUNT ON;
1919

2020
DECLARE @tblMerge TABLE(
2121
[INTERNAL_PROCESSING_STATUS_CODE] NVARCHAR (100) NOT NULL PRIMARY KEY CLUSTERED,
22-
[INTERNAL_PROCESSING_STATUS_DESCRIPTION] NVARCHAR (4000) NULL
22+
[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION] NVARCHAR (4000) NULL
2323
);
2424

25-
INSERT INTO @tblMerge([INTERNAL_PROCESSING_STATUS_CODE], [INTERNAL_PROCESSING_STATUS_DESCRIPTION])
25+
INSERT INTO @tblMerge([INTERNAL_PROCESSING_STATUS_CODE], [INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION])
2626
VALUES
2727
(N'Abort', N'This exception case indicates that the instance in question was executed, but that another instance of the same Batch or Module is already running (see also the equivalent Execution Status Code for additional detail). This is one of the checks performed before the regular process (Module and/or Batch) can continue. If this situation occurs, all processing should stop; no data should be processed. The process will use the Internal Processing Status `Abort` to trigger the Module/Batch `Abort` event which sets the Execution Status Code to `Cancelled`, ending the process gracefully.'),
2828
(N'Cancel', N'The instance evaluation has determined that it is not necessary to run this process (see also the equivalent Execution Status Code for additional detail). As with Abort, if the Internal Process Status code is `Cancel` then all further processing should stop after the Execution Status Code has also been updated to `Cancel`.'),
@@ -34,11 +34,11 @@ USING @tblMerge AS src
3434
ON TARGET.[INTERNAL_PROCESSING_STATUS_CODE] = src.[INTERNAL_PROCESSING_STATUS_CODE]
3535
WHEN MATCHED THEN
3636
UPDATE
37-
SET [INTERNAL_PROCESSING_STATUS_DESCRIPTION] = src.[INTERNAL_PROCESSING_STATUS_DESCRIPTION]
37+
SET [INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION] = src.[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION]
3838
WHEN NOT MATCHED THEN
3939
INSERT ([INTERNAL_PROCESSING_STATUS_CODE]
40-
,[INTERNAL_PROCESSING_STATUS_DESCRIPTION])
40+
,[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION])
4141
VALUES ([INTERNAL_PROCESSING_STATUS_CODE]
42-
,[INTERNAL_PROCESSING_STATUS_DESCRIPTION]);
42+
,[INTERNAL_PROCESSING_STATUS_CODE_DESCRIPTION]);
4343

4444
GO

0 commit comments

Comments
 (0)