Replace null values with zero using SSIS

Step 1:

Drag and drop Data flow task to control flow tab and edit

Step 2:

Take excel data source

Create new excel connection

Browse source file from local syatem


Select sheet name

Click preview and see few null values in TaxAmt column

Step 3:

Drag and drop derived column and replace TaxAmt column


Method 1:

Syntax for expression is ISNULL(TaxAmt) ? 0 : TaxAmt



Method 2:

REPLACENULL(TaxAmt,0)

Step 4:

Execute task

Comments

  1. The information you shared was useful. Thank you for taking the time to organize it.

    ReplyDelete
  2. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog.

    ReplyDelete
  3. I appreciate the time you spent finding that information

    ReplyDelete
  4. Replies
    1. Thanks for your valuable feedback and please subscribe my blog for more updates.

      Delete

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Exception deserializing the package "The process cannot access the file because it is being used by another process."

Temporary enable and disable SSRS subscriptions