# Create Sequence

Execute **Sequence Folder > Context Menu > Create Sequence** to create the Function objects through the PSM Editor.

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/htBu9G2EDjzzkCAWgpLW/%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7,%202025-02-27%2018-28-57.png" alt=""><figcaption><p>Create Sequence screen</p></figcaption></figure>

The details of the Sequence can be set through each option. SQL applied to the settings is shown in the bottom SQL area.

<figure><img src="https://content.gitbook.com/content/nNfkYJbwJttSkGBYdvi9/blobs/RMc8f992vBm88OJTIMV7/%EC%8A%A4%ED%81%AC%EB%A6%B0%EC%83%B7,%202025-02-27%2018-29-41.png" alt=""><figcaption><p>SQL are in the bottom</p></figcaption></figure>

<table><thead><tr><th width="170">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Schema</strong></td><td><p>Select the schema for which the Sequence will be created. </p><p>Default: Schema in the currently selected Sequence folder </p></td></tr><tr><td><strong>Sequence Name</strong></td><td>Enter the name of the Sequence to be created.</td></tr><tr><td><strong>Start With</strong></td><td><p>Start With</p><p>Set the starting value of the Sequence. </p><p>Default: MINVALUE if the INCREMENT value is positive, MAXVALUE if the INCREMENT value is negative </p></td></tr><tr><td><strong>Increment</strong></td><td><p>Specifies the interval between increments of the IncrementSequence. </p><p>If positive, the Sequence value is incremented; if negative, the Sequence value is decremented. </p><p>Default: 1</p></td></tr><tr><td><strong>Min Value</strong></td><td>Min Sets the minimum value that the ValueSequence can have.</td></tr><tr><td><strong>Max Value</strong></td><td>Max Sets the maximum value that the ValueSequence can have.</td></tr><tr><td><strong>Cache</strong></td><td><p>Specifies whether to store the value in the Cache for the Cache Size. </p><p>Cache Size can be set when Cache is selected, and defaults to 20.</p></td></tr><tr><td><strong>Cycle</strong></td><td><p>Specifies whether to continue generating Sequence values after the MaxValue or MinValue is reached. </p><p>Default: No Cycle</p></td></tr><tr><td><strong>Order</strong></td><td><p>Specifies whether to preserve the order of Sequences issued between nodes in a cluster environment. </p><p>Default: No Order</p></td></tr></tbody></table>

After completing the detailed settings for each option, click the **\[Create button]** to create a Sequence object with the settings.

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tibero.com/tiberostudio.en/about/schema-tree-browser/sequence/create-sequence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
