From database devide records in equal no of records and save in two files

Data will be inserted in the database as per the input file, and further we have to divide those data from database table in two files equally.

E.g. if 10 (even) rows inserted then file 1 and file 2 have 5 records each.

But if 11 (odd) rows inserted then file 1 will have 5 and file 2 have 6 records.

Hello Rohan,

You can apply even odd logic in modified java script & filter to divide rows

Okk I will try this logic.
Thanks