Link to home
Start Free TrialLog in
Avatar of earngreen
earngreenFlag for United States of America

asked on

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?
Avatar of Jason Yousef
Jason Yousef
Flag of United States of America image

Try using "No Cache" and see if that works for you...
Avatar of earngreen

ASKER

Sorry I am using 2005 and not 2008
Avatar of Reza Rad
did you set the lookup to redirect no match entries as no match output in the lookup transform editor?
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.
could you attach an screenshot from your data flow here?
Here is a pic.
df.jpg
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
I am saying that you are using SSIS 2008 and I am using SSIS 2005 where there is no such screen.
sorry for late reply, could you send your package with database structures of source and destination with sample data, I try to find problem
ASKER CERTIFIED SOLUTION
Avatar of earngreen
earngreen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
In using SQL 2005 SSIS, u have tof trim all data going into the lookup. No other solution provided this resolution for me.