Cross Reference Operations

Use the Operations section of the Cross Reference Keys dialog box to determine if you want to create a cross-reference key and if so, where you want to store the key.

To select the operation

  1. Select one of the following operations:
    OperationTarget Step = InsertTarget Step = Delete
    Don't output key cross reference informationDisables cross reference keysDisables cross reference keys
    Update Source result setThe source row is updated with the target value.The cross reference field in the source row that stores the target value is set to null.
    Update Source shadow or base tableThe source cross reference table is updated with the target value.The cross reference field in the source table that stores the target value is set to null.
    Insert into Other source tableA record containing the values specified in the source and target mapping sections is inserted into the source cross reference table. The corresponding record in the cross reference table is deleted.
    Insert into Target table A record containing the values specified in the source and target mapping sections is inserted into the target cross reference table.  The corresponding record in the cross reference table is deleted.
    Insert into Internal database tableA record containing the values specified in the source and target mapping sections is inserted into a cross-reference table in the Scribe Internal database. The corresponding record in the cross reference table is deleted.
  2. If you select an operation that requires a cross reference table, the Cross reference table drop-down list is enabled. Only valid tables display in the drop-down list. Select the table that you want to hold the cross reference entries.
  3. If you selected Insert into Internal database table, choose a table in the Scribe Internal database. You can choose either:

    The Label field is only enabled when you select Insert into Internal database table with the KEYCROSSREFERENCE or KEYCROSSREFERENCETWOWAY table. Provide a label that uniquely identifies this cross reference so you can use the same Cross Reference table to store cross reference data between many different data objects.

    For example, if you have one DTS that synchronizes customers and another that synchronizes contacts, you might choose to label these tables CUSTOMER and CONTACT. Then all cross references can be stored in the KEYCROSSREFERENCE or KEYCROSSREFERENCETWOWAY table.

  4. Define the Source Mapping.

See also

About Cross Reference Keys

Field Keys

Operations

Specifying a Source Key and Name

Viewing Field Properties

Updating or Deleting source rows

Using XREFLOOKUP Functions

XREFLOOKUP

XREFLOOKUPINTERNAL

XREFLOOKUPLOCK_AKEY

XREFLOOKUPLOCK_BKEY

XREFLOOKUPNOLOCK_AKEY

XREFLOOKUPNOLOCK_BKEY