Skip to main content

DROP SEQUENCE

Introduced or updated: v1.2.426

Deletes an existing sequence from Databend.

Syntax

DROP SEQUENCE [IF EXISTS] <sequence>
ParameterDescription
<sequence>The name of the sequence to be deleted.

Examples

-- Delete a sequence named staff_id_seq
DROP SEQUENCE staff_id_seq;
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