I am working on an SSIS job where I am importing a .xls file to OLE DB destination (sql database). We load these files on daily basis. The .xls file contains records of hospitals. Each row represents a hospital. I am able to do insert and update
for this process
Here's what I need help with:
If the hospital no longer active we are going to get the same .xls file without the record of hospital. How do I check to see if the record is not in .xls file but it exists in SQL database? I need to update that hospital row in SQL database and update the IsActive field for that row to false.
Here's what I need help with:
If the hospital no longer active we are going to get the same .xls file without the record of hospital. How do I check to see if the record is not in .xls file but it exists in SQL database? I need to update that hospital row in SQL database and update the IsActive field for that row to false.