Changing Source Column Mapping

Changing source column mappings includes:

  • Opening a CONNX Data Dictionary (CDD)

  • Changing which source column a target column is mapped to

 

Change the source column mappings if:

  • You wish to change which source column a target column is mapped to

 

After you change the source mappings you will be able to:

  • Deploy the replication (which will start replicating data from source database to target database)

 

Map Columns allow you to change which source column an existing target column is mapped to.

 

Note: The Source and Target columns must have compatible data types, lengths, precisions and scales.

 

  1. Open the Open Systems Event Replicator CDD.

  1. Select a Target Table to modify. Click Map Columns. The Map Columns window for an existing target table appears.

Map_columns_existing_source_columns.bmp

 

  1. Under Populate columns, click Source Column. Click the Source Column box for the replication you wish to change. A drop down arrow appears. Click on the arrow and a list of available source column names appears.

Map_columns_existing_source_name_dropdown.bmp

 

  1. Select the source column name to map the corresponding target column to.

Map_columns_existing_source_name_changed_dropdown.bmp

 

  1. The selected Source Column will map to the corresponding Target Column.

Map_columns_existing_source_name_changed.bmp

 

  1. Click Done. The Open Systems Event Replication window reappears.

Note: The ISN field is always shown in the column map because replication requires a unique key present to work and if there are no other unique keys on the table the ISN can then be used.  The ISN is shown even if the table was built with a Create Table statement that did not specify an ISN.