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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Usage of "additional columns" in tOracleOutput?

Hello!
I'm new to Talend Open studio and I wonder how to use the "Additional columns" feature within the "Advanced settings" of the tOracleOutput- component.
I only found some small mysql example in the web which doesn't help much.
What "name" is meant in the list? What does it exactly do?
I have a database table with "id" as the key column and tried the following in my tOracleOutput:
Name: "id"
SQL expression: "select LW_LEIST_SEQ.NEXTVAL from dual" (the sequence exists)
position: "after"
reference column: "id"
but when i try to execute the job i get "ORA-00936: missing expression"
Can anybody help me?
Thank you!
Stefan
Labels (2)
3 Replies
Anonymous
Not applicable

Hi,

Normaly the name "ID" is reserved in Oracle DB.

Jeremie
_AnonymousUser
Specialist III
Specialist III
Author

Hello!
Well we DO HAVE a key column named "id" in our table and it works.
Stefan
_AnonymousUser
Specialist III
Specialist III
Author

I just found out the problem:
SQL should be "LW_LEIST_SEQ.NEXTVAL" instead of "select LW_LEIST_SEQ.NEXTVAL from dual".
Thanks!