Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I am currently using tmysqloutputbulkexec component to load data into DB.
I need to calculate the number of rows inserted into db using tmysqloutputbulkexec component, source may fetch some 1000 record for example whereas data loaded into db might be 500 since i used "ACTION ON DATA as ignore records in table" , if the records already present in db then those records will not be again loaded.
My requirement is to capture the number of records inserted for audit purpose.
This tmysqloutputbulkexec component will not have "((Integer)globalMap.get("tAmazonAuroraInput_3_NB_LINE"))" this kind of nb line as other db components have.
Kindly suggest me is there any way to calculate the number of row inserted in db using tmysqloutputbulkexec component.
Early Response will be helpful.
Thanks-
Gayathri S
@Gayathri,if you do not have global map variable for tmysqloutputbulkexec,then you can do one thing is that you can write query to check counts from table based using either created date ,updated date column from target table on component ok and do where you want to load that count into audit tables.