14 May 18 · npack ·       Add to Favorites   Report

Dropping SECONDARY INDEX in a Teradata table

to drop the named secondary indexes,


drop index index_name on table_name;

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


drop index (emp_id,dept_id) ON happy_employees;

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


posted on 14 May 18

Read great educational content like this and a lot more !

Members get free exclusive access to content, new courses, and discounts. Signup for a free account to write a post / comment / upvote posts. Creating an account takes less than 5 seconds and you can start earning badges & points too