Quantcast
Channel: SCN: Message List - Data Warehousing
Viewing all articles
Browse latest Browse all 3366

Start Routine - Delete Data w/ No Matching Record In Target

$
0
0

I'm loading a DSO with data from 2 other DSO's and need to figure out how to limit the data load from the 2nd DSO to just the records that are in the Target DSO.

 

Looking at the image below when I load data from the first DSO I'm moving 4K records to my Target DSO. I also have a filter on the DTP to only load data that has a GL Account Between a certian range.

Image1.jpg

Now I need to load data from the 2nd DSO but I only want to load the data that has a matching record in the target DSO. In my case the 2nd DSO contains 28K records but I only need from 4K of those records. Whats happening is that the 2nd DSO is loading all 28K records so I end up with data I don't need. The issue with my 2nd load is that it does not contain the GL Account number so I'm unable to filter this DSO's DTP to only select data with a GL Account Range.

 

This image is an image that shows teh keys of the Target DSO. DSO 1 and DSO 2 both contain these fields and i'm mapping to them.

Image2.jpg

 

So back to my origianl question, how am I able to restrict the data from the 2nd DSO to just the 4K reocrds that are currently existing? Maybe a start routine is not the best way to go about this.

 

Ideas? Suggestions?

 

Thanks


Viewing all articles
Browse latest Browse all 3366

Trending Articles