Skip to main content

Writing a file to MySQL if the number of its records matches a reference value

In this scenario, tFileRowCount counts the number of records in a .txt file, which is compared against a reference value through tJava. Once the two values match, the .txt file will be written to a MySQL table.

For more technologies supported by Talend, see Talend components.

The .txt file has two records:

1;andy
2;mike

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!