Sequence Editor
Top  Previous  Next


The Sequence Editor allows you to create new sequences and to edit the existing ones (see How to create a sequence and How to edit a sequence).

Sequence  
 
The main sequence parameters are set on the Sequence tab.

Name
Set the name of the new sequence in the edit field.

Next Value
Set the next sequence value.

Increment
Set the increment value.

Min Value/Max Value
Set the minimum and maximum sequence values respectively.

Cache
Set the cache value.

Temporary
Check this option to make the sequence temporary.

Cycle
Check this option to make the sequence cycle.

Description  

The Description tab contains the sequence description. Button Save Description saves the edited description.

DDL  
 
On the DDL tab you can view the SQL text for creating the sequence with the properties you set. This text can't be edited, but can be copied to the clipboard.

To call the PostgreSQL Reference, click button Help on SQL on the toolbar.

Button Default Size brings the window to the default size (restricted by the main window and the DB Explorer).

The drop-down list of the current database sequences on the toolbar allows you to switch the edited sequence.

When you are done, click button Compile on the toolbar to start the process of compilation. The Compile Window will appear where you will be able to view and edit the result SQL statement for creating the new sequence. Commit the transaction, and if it is successful, the new sequence will be created or the sequence parameters will be changed.
 
See also:
Table Editor
Schema Editor
View Editor
Function Editor
Rule Editor
Trigger Editor
Index Editor
Type Editor
Aggregate Editor
Operator Editor
Language Editor
Compile Window


Availability:
Windows Professional

Yes

Windows Lite

Yes

Linux Professional

Yes

Linux Lite

Yes