Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tELTORACLE UPDATE

I'm trying to do an update with ELT of one column but it depends of the where clause, otherwise the column should remain the original. however using the following talend returns NULL for all the not matching rows and returns the updated value for the matching rows.

 

0683p000009LySK.jpg0683p000009LySP.jpg0683p000009LyR8.jpg

 

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

we solved it by implementing the following in the where clause:

 

EXISTS (SELECT 1 from TESTING2 WHERE TESTING2.KEY = C.KEY   AND  TESTING2.VAL3 = C.COLUMN4)

View solution in original post

5 Replies
fdenis
Master
Master

what is your problem?

 

Anonymous
Not applicable
Author

the problem is that the entire column gets new values, the updated value if there is a match and otherwise NULL, it should be updated value if there is a match, otherwise keep original data

Anonymous
Not applicable
Author

we solved it by implementing the following in the where clause:

 

EXISTS (SELECT 1 from TESTING2 WHERE TESTING2.KEY = C.KEY   AND  TESTING2.VAL3 = C.COLUMN4)

fdenis
Master
Master

try to write sql query , you are going to link by id you Need it in elt.
have a look to generated sql query. do you have the same?
Anonymous
Not applicable
Author

We do know, by adding the code (accepted as answer) to the where clause in the ELTORACLEOUTPUT