DROP INDEX SQL Statement | VantageCloud Lake - DROP INDEX - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

Drops a secondary index on a table or join index.

You can drop a named index by specifying the index name or index definition.

When you drop a secondary index, the system frees the disk space that was used by the index and removes information about the index from the table header. If statistics have been collected on the index, the system sets the value for the IndexNumber column in DBC.StatsTbl to 0, but does not drop the statistics that have been collected on the index column.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Required Privileges

You must have the INDEX or DROP TABLE privilege on the table.

To drop an index from a join index, you must have one of the following privileges:
  • DROP TABLE on the join index
  • DROP TABLE on one of the base tables
  • INDEX on the join index
  • INDEX on one of the base tables