diff --git a/DD-VMP02-DB01/SQL-Server/Prozeduren/[PRDD_SET_STATUS_IN_THIRDPARTY_DB].sql b/DD-VMP02-DB01/SQL-Server/Prozeduren/[PRDD_SET_STATUS_IN_THIRDPARTY_DB].sql index 11ec34f..a7eccfb 100644 --- a/DD-VMP02-DB01/SQL-Server/Prozeduren/[PRDD_SET_STATUS_IN_THIRDPARTY_DB].sql +++ b/DD-VMP02-DB01/SQL-Server/Prozeduren/[PRDD_SET_STATUS_IN_THIRDPARTY_DB].sql @@ -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;