Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSIS - Error on ETL

Posted on 2014-07-24
1
Medium Priority
?
315 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
ID: 40218396
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

972 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