Sequence
This page provides a comprehensive overview of sequence operations in Databend, organized by functionality for easy reference.
Sequence Management
Command | Description |
---|---|
CREATE SEQUENCE | Creates a new sequence generator |
DROP SEQUENCE | Removes a sequence generator |
Sequence Information
Command | Description |
---|---|
DESC SEQUENCE | Shows detailed information about a sequence |
SHOW SEQUENCES | Lists all sequences in the current or specified database |
备注
Sequences in Databend are used to generate unique numeric values in a sequential order, commonly used for primary keys or other unique identifiers.