Defining Cross Reference Keys

Use the Cross Reference Keys dialog box to manage cross-reference keys between sources and targets.

Note:  

The Update/Insert and Insert/Update steps do not support cross reference keys. Although the insert occurs correctly with these steps, the update does not check the cross-reference table.

If you are currently seeing this issue with the update operation and want to modify your DTS:

  1. Replace each of the following steps in your DTS:
    • Insert/Update — Replace with three separate operations: Seek, Insert, and Update.
    • Update/Insert — Replace with three separate operations: Seek, Update, and Insert.
  2. Run your DTS.
  3. If the update is still not checking the cross-reference table, restart your Workbench.

To define a cross reference key

  1. Select the Target Connection. If your DTS has multiple target connections, select the target connection from the drop-down list that you want to use for mapping and, optionally, for storing the cross reference key.
  2. Select the cross-reference operation.
  3. Map the source key fields.

    Note: If Insight can determine a source key, or if it is specified by an adapter or in Configure Source, that value is used for the Source Mapping.

  4. Map the target key fields.
  5. Optionally, select a cross-reference lookup variable.
    Note:  

    This feature requires special handling when working with bulk operations. See Using Bulk Operations for more information.

See also

Cross Reference Keys

Field Keys

Cross-Reference Operations

Cross-Reference Source Mapping

Cross-Reference Target Mapping

Specifying a Source Key and Name

Viewing Field Properties

Updating or Deleting source rows

XREFLOOKUP

XREFLOOKUPINTERNAL

XREFLOOKUPLOCK_AKEY

XREFLOOKUPLOCK_BKEY

XREFLOOKUPNOLOCK_AKEY

XREFLOOKUPNOLOCK_BKEY