14 May 18 · npack ·       Add to Favorites  

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.

npack

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

Copied