Insert/Update Blank in "Not Null" Column

Scenario: We have a Table with the columns defined as Not Null and sometimes, value is not coming in an Integer Source Field and needs to be updated in DB Target. 

 

Solution: This can be achieved For String values by enabling the "Update Empty tag" option under the Advanced properties of the Database Schema and for the Numeric values you can achieve the desired results by  following the below steps:

1. Create a local variable at the record level that will store the value for the source field in which the input value is coming. 

Local_variable.png

2. Create a Value map to handle the blank values and use it in the Data mapping.

 Value_map.png

Textual_rule.png

Have more questions? Submit a request

0 Comments

Article is closed for comments.