Add an Update Strategy transformation to a mapping to flag individual rows for insert, update, delete, or reject.
Define an update strategy expression to test each row to see if it meets a particular condition. Then, assign each row a numeric code to flag the row for a particular database operation.
The following table lists the constants for each database operation and their numeric equivalent:
Operation
Constant
Numeric Value
Insert
DD_INSERT
0
Update
DD_UPDATE
1
Delete
DD_DELETE
2
Reject
DD_REJECT
3
The Data Integration Service treats any other value as an insert.