Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
tMysqlRow is not intended to return data but execute a SQL action for each incoming row; the outgoing row will be identical to the incoming row.
So it is not possible in Talend to do a select where with variables in the where clause?
alevy wrote:
tMysqlRow is not intended to return data but execute a SQL action for each incoming row; the outgoing row will be identical to the incoming row.
That is just plain wrong, there is even an option to propagate the query's record set in the t***Row components.
tMysqlRow is not intended to return data but execute a SQL action for each incoming row; the outgoing row will be identical to the incoming row.
A better approach is tFileInputXML --> tXMLMap --main--> tMap -->
tmySqlInput --lookup-->
In the tMap, change the lookup model to "Reload at each row (cached)" and use the globalMap key in the tmySqlInput SQL. Read scenario 6 of the tMap help for a detailed example of how this works.