Hi,
I'm new to this forum so please be gentle . I've got two dataflows:
- Dataflow A - collects dataset A and plugs it into target table C (after running the data through table comparison and history preserving transforms)
- Dataflow B - collects dataset B and plugs it into the same target table C (after running the data through a table comparison transform. It doesn't have a history preserving transform)
Target table C is effectively a union of datasets A and B.
There are two dataflows because datasets A and B are structured differently and e.g. the table comp in dataflow A is a bit different to that in dataflow B. Also, dataflow A has a history preserving transform but the other one doesn't because again the source data is structured differently.
I would like the table comparisons in both dataflows to "detect deleted rows" but at the moment I can't do this. If I do, when dataflow A runs, it will think that all of dataset B has been deleted and when dataflow B runs, it will think that all of dataset A has been deleted. Not what I want
Is it possible for the target table to be a SQL Server view which limits the data that the table comparison will check against? So e.g. for the above, the target table in dataflow A would use a view which limits the data to just dataset A. If this is possible, will dataset B then be untouched by dataflow A?
Has anyone done this or tried this before?
Many thanks,
Pawel