A sequence generation rule is a global or ad hoc rule that generates numeric and date values in a sequence.
You select a beginning value and an increment value when you create a sequence generation rule.
When you create a sequence generation rule for a numeric data type, you can choose to start the sequence from the last output value. When you run the plan again, the sequence continues to generate numbers from the previous output value
If you try to generate numbers in a column with string data type and if you choose to start the sequence from the last value, TDM generates values from the beginning when you run the plan again.
The following image shows the sequence generation parameters:
Sequence Generation Example
You want to generate ticket numbers in ascending order. The target table has a TICKET_NUMBER column. You create a sequence generation rule with the numeric data type. You enter a start value of 1000 and an increment value of one (1).