Snowflake alterSequence
Last updated: March 26, 2026
Modifies properties of an existing sequence in Snowflake. This allows you to change the increment value and ordering behavior without recreating the sequence.
Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).
Known limitation: The Liquibase alterSequence change type is not compatible for Snowflake users in Liquibase Secure 5.1 using YAML or JSON change type formats. This does not affect XML change types at all. If you’re connecting to a Snowflake database, Liquibase automatically detects that you are using the Snowflake alterSequence change type and breaks backwards compatibility with the Liquibase alterSequence change type. We recommend upgrading to Liquibase Secure 5.1.1 to use createView with YAML and JSON change type formats successfully.
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) containing the sequence | No |
| String | Name of the schema containing the sequence | No |
| String | Name of the sequence to alter | Yes |
| Boolean | Don't error if the sequence doesn't exist using IF EXISTS | No |
| Long | New value to increment by for each sequence value* | No |
| Boolean | New ordering behavior (true for ORDER, false for NOORDER)* | No |
* At least one of incrementBy or ordered must be specified.