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?
Microsoft SQL ServerMicrosoft SQL Server 2005

Avatar of undefined
Last Comment
earngreen
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
earngreen
Flag of United States of America image

ASKER

Sorry I am using 2005 and not 2008
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

did you set the lookup to redirect no match entries as no match output in the lookup transform editor?
Avatar of earngreen
earngreen
Flag of United States of America image

ASKER

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.
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

could you attach an screenshot from your data flow here?
Avatar of earngreen
earngreen
Flag of United States of America image

ASKER

Here is a pic.
df.jpg
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

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
Avatar of earngreen
earngreen
Flag of United States of America image

ASKER

I am saying that you are using SSIS 2008 and I am using SSIS 2005 where there is no such screen.
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of earngreen
earngreen
Flag of United States of America image

ASKER

In using SQL 2005 SSIS, u have tof trim all data going into the lookup. No other solution provided this resolution for me.
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo