Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » UltraLite - 数据库管理和参考 » UltraLite SQL 参考 » UltraLite SQL 语句

 

UltraLite DROP INDEX 语句

此语句用于删除索引。

语法
DROP INDEX [ table-name.]index-name
注释

不能删除表的主索引。

当 DROP INDEX 语句正在被处理时,UltraLite 不会处理引用该索引的请求或查询。此外,当数据库包含活动查询或未提交的事务时,您也无法执行 DROP INDEX 语句。

对于 UltraLite.NET 用户:除非也为所有数据对象(例如 ULDataReader)调用了 Dispose 方法,否则您将无法执行此语句。请参见Dispose 方法

如果模式更改同时开始,则语句将不会被释放。请参见使用 DDL 语句更改模式

另请参见
示例

以下语句在 FinancialData 表上删除虚构索引 fin_codes_idx:

DROP INDEX FinancialData.fin_codes_idx;