Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
We are developing an ELT process using oracle merge, where a column to be updated needs to have as the new value the greatest between the new value and the target current value.
In sql it would be something like:
Hello @lucaL
From my experience, I don't think you can perform both operations (insert, update) simultaneously in a tELTOracleOutput.
But you can do it with a tSQLTemplateMerge. You can use this component's configuration as a guide, as shown below :
Best Regards
Hi,
thanks for the repoly. This works almost as the TELTOracleOutput whene you choose the merge operation. The problem is still the same, I think, you cannot use the target table values on the update statement, since talend use just the "target.column = source.column" logic... It seems there is no way to define a different logic, as would be "target.colum = target.column + source.column"... Isn't it?
Regards 🙂