I need to write a program which check to see if certain dates in a table have changed basically monitor date changes on a daily basis.
The data is retrieve from another database. I plan to created to create a new table which will hold the dates and on a daily basis check these dates with the dates retrieve from the remote to see if any of the dates have change and report.
My question is what is the most efficient way to do this the volume of records is approx 6000.
I could sort both tables on primary key and walk though both tables crosschecking dates
Or
use a select query to lookup individual items checking dates
And adding issue is that there could be new items which will need to be added to date checking table
Any suggestion will be appreciated
Thank You
Des
The data is retrieve from another database. I plan to created to create a new table which will hold the dates and on a daily basis check these dates with the dates retrieve from the remote to see if any of the dates have change and report.
My question is what is the most efficient way to do this the volume of records is approx 6000.
I could sort both tables on primary key and walk though both tables crosschecking dates
Or
use a select query to lookup individual items checking dates
And adding issue is that there could be new items which will need to be added to date checking table
Any suggestion will be appreciated
Thank You
Des