I've got an assignment where I need to create a shell script to track just the changes to the employees table (DB2 database) record for any insert, delete or update that the HR department perform to users hourly.
No need for SQL or bash code. Just ideas on how to get this done.
Cons: I cannot edit or alter any DB schema or add/create any trigger.
Pros: I have the credentials to select * from the table
Is there any way I can achieve this without bringing all db records and compare them?
I just only need the new changes (update, insert or delete).
PS: I DO have a successful DB connection and already performing select queries.
Thanks for the time to look at the post.
EGMWEB