The Sequence Generator transformation
Sequence Generator transformation is used to generate a sequence of unique numbers. Unique values are generated based on the property defined in the Sequence Generator transformation. A sample mapping showing the Sequence Generator transformation is shown in the following screenshot:
![](https://static.packt-cdn.com/products/9781782176480/graphics/6480EN_07_29.jpg)
As you can see in the mapping, the Sequence Generator transformation does not have any input port. You need to define the start value, increment by value, and end value in the properties. Based on properties, the sequence generator generates the value. In the preceding mapping, as soon as the first record enters the target from the Source Qualifier transformation, NEXTVAL
generates its first value, and so on for other records. The sequence generator is built to generate numbers.
Ports of the Sequence Generator transformation
The Sequence Generator transformation has only two ports, NEXTVAL
and CURRVAL
. Both the ports are output ports. You cannot add or delete any port in a...