Solved

SSIS - Error on ETL

Posted on 2014-07-24
1
278 Views
Last Modified: 2016-02-11
Hello,
I have a dtsx package running on SQL SERVER 2005 , which has been running without issue for a number of years.
today I didn't see any errors on the package process itself. however, the results being inserted into my Fact are incorrect.

When I opened the dtsx and checked it out, and ran it myself, the package seems to run and tell me in some cases I have duplicates - which i am starting to work on , but it also gave me an error on one of my conditional tasks.

on the SP that I pull from the source task - there is a field which is setup as 1 or 0
- I setup a conditional task to check this and send if results are = 1 to down one way and if they are not they go to another task to be processed.

however I am getting the following error telling me there is a null value in my result sets and so the step can not be completed.
" Error: 0xC020902B at Process : The expression  on "output evaluated to NULL, but the "component " requires a Boolean results. Modify the error row disposition on the output to treat this result as False (Ignore Failure) or to redirect this row to the error output (Redirect Row).  The expression results must be Boolean for a Conditional Split.  A NULL expression result is an error."

I have ran the SP on its own (this is the source SP where the field in question is held) - returning over 150k rows and there are no null values in the field in question.
The condition is setup as follows
Where dist_offserver == 1 the output is set to one way
Default output for everything else..

Has anyone come across this before?
what do you think could be the issue? is there any thing I can do to help me find where this null value is coming from

thank you.
0
Comment
Question by:Putoch
1 Comment
 

Accepted Solution

by:
Putoch earned 0 total points
Comment Utility
I have found the problem.
When I looked at my source SP I was looking for the current month, however the issue was within the previous month.
some files were loaded yesterday manually - and given last months date - however, these particular files include null values against the particular field I am getting the error at.

I hope this will help someone else if they get this issue.

Look out for the source info.
in the end rather than looking at everything for the month I was in, I ran a query against the source for Null values against the problem column .

thanks,
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
SignalR - getting new data from sql DB 5 62
t-sql month question 8 40
SQL Date Retrival 7 21
Test a query 23 0
From time to time, for debugging and troubleshooting your flow at run time you’ll need to check if the variable has the correct value or not, there’re several ways to check for the value of the variables inside the flow, You can add Break Points, a …
In couple weeks ago, I encountered an extremely difficult problem while deploying 2008 SSIS packages to a new environment (SQL Server 2014 standard).  My scenario is: We have one C# application that is calling 2008R2 SSIS packages to load text fi…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now