<commit_before># SQL - ALTER SEQUENCE 

(Since v2.2)

Alters a sequence. All the settings can be changed, but the sequence type.

## Syntax

```sql
ALTER SEQUENCE <sequence> [START <start>] [INCREMENT <increment>] [CACHE <cache>]
```

Where:
- `sequence` is the sequence name to create
- `start` set the initial value of the sequence
- `increment` set the value to increment when `.next()` is called
- `cache` set the number of values to pre-cache in case the sequence is of type CACHED

## See also
- [SQL Create Sequence](SQL-Create-Sequence.md)
- [SQL Drop Sequence](SQL-Drop-Sequence.md)
- [Sequences and auto increment](Sequences-and-auto-increment.md)

## Examples
<commit_msg>Update SQL-Alter-Sequence.md<commit_after># SQL - ALTER SEQUENCE 

(Since v2.2)

Alters a sequence. All the settings can be changed, but the sequence type.

## Syntax

```sql
ALTER SEQUENCE <sequence> [START <start>] [INCREMENT <increment>] [CACHE <cache>]
```

Where:
- `sequence` is the sequence name to alter
- `start` set the initial value of the sequence
- `increment` set the value to increment when `.next()` is called
- `cache` set the number of values to pre-cache in case the sequence is of type CACHED

## See also
- [SQL Create Sequence](SQL-Create-Sequence.md)
- [SQL Drop Sequence](SQL-Drop-Sequence.md)
- [Sequences and auto increment](Sequences-and-auto-increment.md)

## Examples

{'fraction_non_alphanumeric': 0.11956521739130435, 'fraction_numerical': 0.002898550724637681, 'mean_word_length': 4.291187739463601, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6512390', 'n_tokens_mistral': 455, 'n_tokens_neox': 432, 'n_words': 171}