Conditional mapping - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
Last edition
2024-07-30
Last publish date
2024-07-30T20:19:56.898694

Example

If the value of SOURCE_FIELD1 is an ‘A’, then map it to TARGET_FIELD1. Otherwise, map SOURCE_FIELD2 to TARGET_FIELD1.
PROCESS INTO OUTPUT_DATASTORE
SELECT
{
  if SOURCE_FIELD1 = 'A'
  {
       TARGET_FIELD1 =  SOURCE_FIELD1
  }
  else
  {
       TARGET_FIELD1 = SOURCE_FIELD2
  }
}
FROM INPUT_DATASTORE;