Sequences
Creating sequences
- Go to Databases
- Select the database in which you want to create a sequence.
- Select the schema in which you want to create a sequence.
- Go to DB Objects > Sequences.
- Click Create sequence.
- Type a name for sequence. The name can be up to 128 characters long and it must begin with a letter or underscore and cannot contain embedded spaces. The name must be unique. If the name contains special characters, enclose it in double quotation marks.
- Specify the starting integer value for the sequence.
- Specify the minimum value.
- Specify the maximum value.
- Specify the increment by value.
- Specify whether you want the sequence to restart when it reaches its last value by checking the Cycle box. The default is No cycle, which means that the sequence stops when it reaches its last value.
- Click Create.
You can select Assign owner, Rename, Alter and Drop options from the overflow menu.