SSC-FDM-OR0034
Sequence start value with 'LIMIT VALUE' is not supported by Snowflake.
Description
This error appears when the START WITH statement value is LIMIT VALUE.
In Oracle this clause is just use in ALTER TABLE
STARTWITHLIMIT VALUE, which is specific toidentity_options, can only be used withALTERTABLEMODIFY. If you specifySTARTWITHLIMIT VALUE, then Oracle Database locks the table and finds the maximum identity column value in the table (for increasing sequences) or the minimum identity column value (for decreasing sequences) and assigns the value as the sequence generator's high water mark. The next value returned by the sequence generator will be the high water mark +INCREMENTBYintegerfor increasing sequences, or the high water mark -INCREMENTBYintegerfor decreasing sequences.
Example Code
Input Code:
CREATE SEQUENCE SEQUENCE1
START WITH LIMIT VALUE;Output Code:
CREATE OR REPLACE SEQUENCE SEQUENCE1
--** SSC-FDM-OR0034 - SEQUENCE START VALUE WITH 'LIMIT VALUE' IS NOT SUPPORTED BY SNOWFLAKE. **
START WITH LIMIT VALUE
COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"oracle"}}';Recommendations
No additional user actions are required.
If you need more support, you can email us at [email protected]
Last updated
