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
Operation | Target Step = Insert | Target Step = Delete |
---|---|---|
Don't output key cross reference information | Disables cross reference keys | Disables cross reference keys |
Update Source result set | The 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 table | The 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 table | A 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 table | A 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. |
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.
See also
Specifying a Source Key and Name
Updating or Deleting source rows