You are not logged in.
Announcement
Unanswered posts
|
If you do the aggregate in a tmap, it means that you need to do a select before to get the value in database.
Hi
Why don't do this update in tOracelOutput?
InputComponent-->tMap-->tOracleOutput
In tMap, modify the expression of the column 'acolumn' like row1.acolumn+"hello" and set the filter condition of out1 like row1.id == 123.
Regards,
Pedro
I think aggregate is a better word ![]()
If in my database, the column acolumn get the value "I say "
after
update myTable set aColumn = acolumn || 'hello' WHERE id = 123
it will get "I say hello".
Nevermind, I think I will use a tOracleRow for that
Hi
update myTable set aColumn = acolumn || 'hello' WHERE id = 123
What do you mean "append a value"?
I see you use "||" here. But I am confused...
Regards,
Pedro
Hi,
In update mode in a tOracleOutput , is there any option to append a value with an existing value in database ?
the coresponding SQL request would be:
update myTable set aColumn = acolumn || 'hello' WHERE id = 123
Thanks !