Adding Values to a Column

How to add values to a column present in target file which column is not present in source file?

Questions by PrathimaReddy

Showing Answers 1 - 2 of 2 Answers

If the target column is coming as NULL value from source, You can give a default value by adding a column in expression transformation ad below.

COLUMN_NAME (The datatype and value filed will populate. Change it) '-1' or 'DEFAULT'

The value to the target column is defaulted to value of -1 or it can be mentioned as default depending on the datatype in the target table.

Either the column can be directly fetched from source table and given a default value or Add an column in the expression transformation by providing default value to link to target table.

Regards,

Jayanthi

  Was this answer useful?  Yes

mythili.ki

  • Jul 27th, 2009
 

Create a port in expression transformation and do calculation whatever you need for the target or assign default value for that port and just pass that to target.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions