I'm having an issue with a SSIS Lookup component. My source table has a string value (XXX), and I need to know if it exists on another table. If I make a query like
select AAA from dest_table where AAA = XXX
I DO get a matching result. This value does exists in both tables. But when I use a Lookup component, it doesn't find any matches and returns NULL (and this leads to a crash in all the next steps of my package). My lookup query is:
select AAA, BBB from dest_table group by AAA, BBB
I need BBB value for following ETL processes. Plus, I added a Multicast component so I can lead all the results I got from the lookup to a testing table, and at the same time let the package flow continue its course. And this testing table only has null values inside (meaning lookup didn't find a match)
What can be the reason behind this?
Thanks in advance!
Ok guys, after several tries, I still cannot find out why is this happening. However, I'll be bypassing this with a simple SQL Task component, with the same query that lookup component has. This doesn't give any errors, don't know why...thanks anyways!
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다