DROP SEQUENCE

DROP SEQUENCE 语句用于删除序列对象。

语法图

DropSequenceStmt:

DropSequenceStmt

IfExists:

IfExists

TableNameList:

TableNameList

TableName:

TableName

示例

DROP SEQUENCE seq;
Query OK, 0 rows affected (0.10 sec)
DROP SEQUENCE seq, seq2;
Query OK, 0 rows affected (0.03 sec)

MySQL 兼容性

MySQL 暂无序列功能。

另请参阅