Skip to main content

Sequence Functions

This section provides reference information for the sequence functions in Databend. Sequence functions allow you to work with sequence objects, which generate unique, auto-incrementing numeric values.

Available Sequence Functions

FunctionDescriptionExample
NEXTVALRetrieves the next value from a sequenceNEXTVAL(my_sequence)
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today