G
Gaby Sandoval
I want to write a exe that compares two recordsets i will create using
SQL statements.
Recordset "A" is from the source table our users are currently using.
Recordset "B" is from a view that shows up to the minute changes
(Pulls from muiltiple sources).
I will run the exe everynight and this is what I am trying to
accomplish.
If B has more records than A.... I want to insert the differeneces
into the source table from A. The changes would also be written to a
log file so the changes would be documented nightly.
If A has more records than B... I want to write to a log that notes
the missing records so that they can be reviewed later and the user
can determine if they need to be processed for deletion.
i know how to create the recordsets, but beyond that I am looking for
any help to see what type of function or code I would use.
thanks in advance for any suggestions.
SQL statements.
Recordset "A" is from the source table our users are currently using.
Recordset "B" is from a view that shows up to the minute changes
(Pulls from muiltiple sources).
I will run the exe everynight and this is what I am trying to
accomplish.
If B has more records than A.... I want to insert the differeneces
into the source table from A. The changes would also be written to a
log file so the changes would be documented nightly.
If A has more records than B... I want to write to a log that notes
the missing records so that they can be reviewed later and the user
can determine if they need to be processed for deletion.
i know how to create the recordsets, but beyond that I am looking for
any help to see what type of function or code I would use.
thanks in advance for any suggestions.