CREATE HASH INDEX SQL Statement | Teradata Vantage - CREATE HASH INDEX - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Creates a hash index on a base table.

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

Privileges Granted Automatically

None.