Labels

Thursday, June 25, 2015

How to handle Null assignment to a column in the Output buffer in SSIS script component when used as Source or Transformation


ErrorOutputBuffer.AddRow();

ErrorOutputBuffer.FNAME= fName;
       
        if (string.IsNullOrEmpty(SSN))
        {
            ErrorOutputBuffer.SSN_IsNull = true;
        }
        else
        {
            ErrorOutputBuffer.SSN = SSN;
        }

No comments:

Post a Comment