Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Row yield error in lookup while extracting the Internal_id in SSIS

$
0
0

Hi,

My Data flow :

OLEDB source:  Detail : records 102331 ( id),

Look up 1:DEMO: records 26961 ( pat id, Demo id)

               Detail. id= DEMO.pat id

               Retrieve the Demo id

Look up 2: CHG :records 90270( Demo id, CHG_ID)

               DEMO. Demo id= CHG.Demo id

               Retrieve the CHG_ID

DESTINATION: TRANS(id, CHG.Demo id,CHG_ID)

But it failed(Row Disposition & yield) at Look up 2:

by checking I got some clue  by applying order by ID at Look up 2 is:

No records        in CHG of Demo id=901

but had records in DEMO( Demo id=901), Detail( Pat id= 'xxx'  with help of Detail. id= DEMO.pat id)

while LOOK UP 2 try with REDIRECT ROW package success and I am getting records 102305, remaining 26 records lost  !

My requirement is all  records 102331 as per Detail  (with  each DEMO id records)

How can I solve  or give me IDEA(to avoid package failure by placing FAIL COMPONENT)?

I tried UPPER(LTRIM(RTRIM))) no result.

Please Help me.

-MADHU


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>