15.10 - CREATE HASH INDEX - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Purpose

Creates a hash index on a base table.

You should create an equivalent single-table join index rather than a hash index.

Required Privileges

You must have the CREATE TABLE privilege on the database in which the hash index is created.

You must have the INDEX or DROP TABLE privilege on the indexed base table or its containing database.

The creator of a hash index is granted the following table privileges on the index:

  • DROP TABLE
  • INDEX
  • DUMP
  • RESTORE

None.

Syntax