14 May 2018 · n-pacha ·       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.

n-pacha

posted on 14 May 2018

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

Copied