Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1002 Bytes

sql-statement-drop-sequence.md

File metadata and controls

58 lines (36 loc) · 1002 Bytes
title summary aliases
DROP SEQUENCE
TiDB 数据库中 DROP SEQUENCE 的使用概况。
/docs-cn/dev/sql-statements/sql-statement-drop-sequence/
/docs-cn/dev/reference/sql/statements/drop-sequence/

DROP SEQUENCE

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

语法图

DropSequenceStmt:

DropSequenceStmt

IfExists:

IfExists

TableNameList:

TableNameList

TableName:

TableName

示例

{{< copyable "sql" >}}

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

{{< copyable "sql" >}}

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

MySQL 兼容性

MySQL 暂无序列功能。

另请参阅