conditional split output evaluated to NULL
first a tried Roll Num != Dest_Roll Num,then i read
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/60eb156d-de46-4ed5-8e1c-0b8ace2c4ac7
and tried similarly
RollNum != Dest_RollNum
but error remains same
Error: 0xC020902B at Data Flow Task 1, Conditional Split [313]: The expression "RollNum != Dest_RollNum" on "output "New" (373)" evaluated to NULL, but the "component "Conditional Split" (313)" 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.
Error: 0xC0209029 at Data Flow Task 1, Conditional Split [313]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Conditional Split" (313)" failed because error code 0xC020902B occurred, and the error row disposition
on "output "New" (373)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.
Error: 0xC0047022 at Data Flow Task 1, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Conditional Split" (313) failed with error code 0xC0209029 while processing input "Conditional Split Input"
(314). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more
information about the failure.mhassanshahbaz
December 14th, 2010 5:22am
i TRIED
ISNULL(Dest_RollNum)
AND IT WORKED :)mhassanshahbaz
Free Windows Admin Tool Kit Click here and download it now
December 14th, 2010 5:25am
well it should work
Lets try this
[RollNum] != [Dest_RollNum]
OR
! ( [RollNum] == [Dest_RollNum] )
Gaurav Gupta http://sqlservermsbiblog.blogspot.com/
December 14th, 2010 5:26am
this is because one of the fields detect NULL value, and whole expression will results null,
you should check them for null value
for example if both fields are integer, you can do it with this expression:
(ISNULL(RollNum) ? 0 : RollNum) != (ISNULL(Dest_RollNum) ? 0 : Dest_RollNum)
http://www.rad.pasfu.com
Free Windows Admin Tool Kit Click here and download it now
December 14th, 2010 5:27am