You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

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 !
Last edited by guymage (2012-06-26 06:07:35)
Offline

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
Offline

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
Offline

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
Offline
Pages: 1