DROP SEQUENCE

Removes the specified named sequence number generator.

Syntax

DROP SEQUENCE [[database.]schema.]sequence[,…]

Parameters

[database.]schema

Specifies a schema, by default public. If schema is any schema other than public, you must supply the schema name. For example:

myschema.thisDbObject

If you specify a database, it must be the current database.

                        sequence
                    

Specifies the sequence to drop.

Privileges

One of the following:

Restrictions

Example

The following command drops the sequence named sequential.

=> DROP SEQUENCE sequential;