Nonstop Database, HiRDB Version 9 Description
The automatic numbering facility returns a serial integer every time data is retrieved from a database. This facility can be used when you define a sequence generator. Using the automatic numbering facility improves the development efficiency of the UAP that performs numbering. Furthermore, the portability from UAPs created by other DBMSs that support a sequence generator also improves. Therefore, we recommend that you use the automatic numbering facility to number jobs.
A sequence generator generates a contiguous number (sequential number) each time regardless of the status of the user or transaction. The following figure provides an overview of a sequence generator.
Figure 5-14 Overview of a sequence generator
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.