---
description: The sequence option 'option_name' is not supported by Snowflake.
---

# SSC-EWI-PG0011

{% hint style="info" %}
**Important Notice: Migration of Documentation Website**

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

[Official Snowflake Snowconvert Documentation](https://docs.snowflake.com/en/migrations/snowconvert-docs/general/technical-documentation/issues-and-troubleshooting/conversion-issues/postgresqlEWI)

For any immediate assistance or if you encounter any issues, please contact our support team at [snowconvert-support@snowflake.com](mailto:snowconvert-support@snowflake.com).

Thank you for your understanding.
{% endhint %}

### Severity

Low

### Description

Some options available in PostgreSQL for the sequence statement are not supported by Snowflake.

The unsupported options are:

* Unlogged.
* AS \<data\_type>.
* MinValue.
* MaxValue.
* No MinValue.
* No MaxValue.
* Cache.
* Cycle.
* Owner By.

### Code Example

#### Input code:

{% tabs %}
{% tab title="PostgreSQL" %}
{% code title="IN -> PostgreSQL_01.sql" %}
```sql
CREATE UNLOGGED SEQUENCE sequence_name;
```
{% endcode %}
{% endtab %}
{% endtabs %}

#### Output code:

{% tabs %}
{% tab title="Snowflake" %}
{% code title="OUT -> PostgreSQL_01.sql" overflow="wrap" %}
```sql
--** SSC-FDM-PG0009 - THE SEQUENCE NEXTVAL PROPERTY SNOWFLAKE DOES NOT GUARANTEE GENERATING SEQUENCE NUMBERS WITHOUT GAPS. **
CREATE UNLOGGED !!!RESOLVE EWI!!! /*** SSC-EWI-PG0011 - 'UNLOGGED' IS NOT SUPPORTED BY SNOWFLAKE. ***/!!! SEQUENCE sequence_name;
```
{% endcode %}
{% endtab %}
{% endtabs %}

### Recommendations

* If you need more support, you can email us at [snowconvert-support@snowflake.com](mailto:snowconvert-support@snowflake.com)
