I have two different DBs,
- the Development environment.
- The other is for production like environment.
Whenever development is completed on the Development environment, data from specific reference tables need to be synced onto DB 2 (production).
So, to achieve the required changes on those tables whether there be CRUD, I'm thinking of selecting data from all relevant tables and mapping with tables on DB2(production).
For records not present in DB2(production) and present in DB1(development), I'll create an insert. Similarly, for delete and update.
Is there any better way to create or find out the delta between these two DBs(development & production)?