PRDD_SET_STATUS_IN_THIRDPARTY_DB: Text extended

This commit is contained in:
KammM 2024-11-25 01:03:00 +01:00
parent ecc6138ffc
commit 6b245abf13

View File

@ -113,8 +113,8 @@ BEGIN TRY
END;
-----------------------------------------------------------------------------------------------------------------------------
--========================================-- Are there target lines to update? --==========================================--
PRINT 'Check if there is a valid target there'
--=====================================================-- main part --=====================================================--
PRINT 'Check if there is a valid target...'
SET @SQL_COMMAND = N'SELECT @LINE_COUNT_1 = count(*)
FROM ' + @TARGET_DB + '.' + @TARGET_SCHEMA + '.' + @TARGET_TABLE + '
WHERE ' + @REF_DOC_NR_COLUMN + ' = ''' + @REF_DOC_NR + ''' ' + @ADDITIONAL_WHERE;