Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
tFileList_1 --(iterate1)-> tFileInputDelimited_1 --(row1)-> tMap_1 --(row2)-> tPostgresqlOutput_1
CREATE OR REPLACE FUNCTION flush_the_bin(customer character varying) RETURNS integer AS
--...
RETURN some_code;
SELECT flush_the_bin('Customer Inc.');SELECT flush_the_bin('" + ((String) globalMap.get("tFileList_1_CURRENT_FILE")) + "')
You could call this procedure indeed with a tPostgresqlInput component this way.
My suggested new tPostgresqlInput component should be triggered in your case starting from tPostgresqlOutput_1 and with OnComponentOk.
tFileList_1 --(iterate1)-> tFileInputDelimited_1 --(row1)-> tMap_1 --(row2)-> tPostgresqlOutput_1
\
--------(iterate2)-> tPostgresqlInput_1 --(row2)-> tMap2 --(row3)-> ...
I guess there might be a problem because as long as I know you cannot do any insert/updates within a select.
I use t<DB>Row to execute a select query, but after use a tParseRecordSet with t<DB>Row to parse the recordset.but how to retrieve column data from tParseRecordSet data i am getting error of column not found