on 02-27-2023 3:31 PM
Hi Team,
I have a below requirement.
Interface will execute weekly once where I query a DB and pull the records and write a csv file.
1. I want to store the last week file in a location and compare it with current week run file.
2. Based on Unique ID value and its status, I want to add a Action column in the current week file which will determine whether the record is Create/Update/Delete.
a) If the ID value doesn't exist in Last week file and if it exist in current file, then its Create
b) If the ID value exist in Last week file and also exists in current file, then its Update
c) If the ID exists and status in Inactive, then its Delete
How to achieve this ?
Thanks,
Varun
User | Count |
---|---|
77 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.