[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1525
  • Last Modified:

Row yielded no match during lookup

I am getting whay seems to be a difficult error to resolve. When running a look up task I am getting "Row yielded no match during lookup" error. I have gone through the data and resolved the following that was suggested on various message boards .

Rebuilt the whole data flow
Ltrim and Rtrim the data
Replaced Null with ''
Checked the data to make sure that case sensitivty is not an issue.

If I run the data today and then run the data a second time in the same day the lookup works fine.

Does anyone know of anything else that could be causing an issue?
0
earngreen
Asked:
earngreen
  • 6
  • 4
1 Solution
 
Jason Yousef, MSSr. BI DeveloperCommented:
Try using "No Cache" and see if that works for you...
0
 
earngreenAuthor Commented:
Sorry I am using 2005 and not 2008
0
 
Reza RadCommented:
did you set the lookup to redirect no match entries as no match output in the lookup transform editor?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
earngreenAuthor Commented:
That is where I am finding the errors. I redirected error rows to a table and all rows are going to the table when I know that there are matches.
0
 
Reza RadCommented:
could you attach an screenshot from your data flow here?
0
 
earngreenAuthor Commented:
Here is a pic.
df.jpg
0
 
Reza RadCommented:
this is not what I meant by redirect no match output,
look at attached image to find out what I meant

1.png
2.png
0
 
earngreenAuthor Commented:
I am saying that you are using SSIS 2008 and I am using SSIS 2005 where there is no such screen.
0
 
Reza RadCommented:
sorry for late reply, could you send your package with database structures of source and destination with sample data, I try to find problem
0
 
earngreenAuthor Commented:
I have resolved this issue it seems that the lookup taks was adding spaces at the end of the data, once I trimmed all columns in the task the issue cleared.

Thx
0
 
earngreenAuthor Commented:
In using SQL 2005 SSIS, u have tof trim all data going into the lookup. No other solution provided this resolution for me.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now