GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Tech FAQs  >  Informatica

 Print  |  
Question:  Adding Values to a Column

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


January 01, 2009 06:10:23 #1
 jayanthidinesh   Member Since: January 2009    Total Comments: 1 

RE: Adding Values to a Column
 

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

     

 

Back To Question