14 May 2018        Add to Favorites   Report

Dropping SECONDARY INDEX in a Teradata table

to drop the named secondary indexes,

Syntax:

drop index index_name on table_name;

to drop unnamed secondary indexes, just reference the column combination,

Syntax:

drop index (emp_id,dept_id) ON happy_employees;


Dropping a secondary index automatically drops the sub-tables and speeds up the data loads.


Read great educational content like this and a lot more ! Create my free account now 🎁

Copied