I have a table that is updated each week and I need to identify the changes to the table each week as an added record, or a deleted record or a change in status to a field for the pdd and or the shortage filed. I am trying to show changes between two tables on a weekly basis and I need to show when there has been a record added, a record deleted or a change in data for one field pdd. I then need to identify them as added record, changed record or removed record. My tables are Long Term BO Changes and the fileds are
DDC, text
Manufacturer text
Sales Number
Shortage text
Root Cause text
Date Placed on list Date
pdd text
Date Date
Added text
Changed text
Removed Text
I am only looking for changes to the DDC is not the primary key because it may be on the list more than once due to the data feed which may have the name of the mfg entered different ways. We will work on this discrepancy to clear it up. Is there a SQL that will look for additions and deletions and changes to these fields.
DDC, text
Manufacturer text
Sales Number
Shortage text
Root Cause text
Date Placed on list Date
pdd text
Date Date
Added text
Changed text
Removed Text
I am only looking for changes to the DDC is not the primary key because it may be on the list more than once due to the data feed which may have the name of the mfg entered different ways. We will work on this discrepancy to clear it up. Is there a SQL that will look for additions and deletions and changes to these fields.