We are creating delta load for standard data source from CRM. The DF as follow. It works fine for general insert and update. However, it has problem when some record made multiple changes during one execution cycle. For instance, I have record which has value '60887' in the PK column. This record made couple of changes on unPK columns, which means all of those changes have the same PK value, different DI_Sequence_Number. When the Delta starts, all of those records are trying to update into the target table. This will be failed since duplicate values on PK. My question is , how to let the DELTA only load the last change from the Queue? Thanks for any help!
↧