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.

nVector

posted on 14 May 18

Enjoy great content like this and a lot more !

Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds