Ask a Question
Report a Bug
This page in other versions:
This document in other formats:
Use the Sequence dialog to create a sequence. A sequence generates unique values in a sequential order (not necessarily contiguous).
The Sequence dialog organizes the development of a sequence through the following dialog tabs: General, Definition, and Security. The SQL tab displays the SQL code generated by dialog selections.
Use the fields in the General tab to identify a sequence:
Click the Definition tab to continue.
Use the fields in the Definition tab to define the sequence:
Click the Security tab to continue.
Use the Security tab to assign privileges and define security labels for the sequence.
Use the Privileges panel to assign privileges. Click the Add icon (+) to set privileges:
Click the Add icon (+) to assign additional privileges; to discard a privilege, click the trash icon to the left of the row and confirm deletion in the Delete Row popup.
Use the Security Labels panel to define security labels applied to the sequence. Click the Add icon (+) to add each security label selection:
Click the Add icon (+) to assign additional security labels; to discard a security label, click the trash icon to the left of the row and confirm deletion in the Delete Row popup.
Click the SQL tab to continue.
Your entries in the Sequence dialog generate a generate a SQL command (see an example below). Use the SQL tab for review; revisit or switch tabs to make any changes to the SQL command.
The following is an example of the sql command generated by user selections in the Sequence dialog:
The example shown demonstrates a sequence named seconds. The sequence will increase in 5 second increments, and stop when it reaches a maximum value equal of 60.