CREATE HASH INDEX Syntax | Teradata Vantage - CREATE HASH INDEX Syntax - 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™
CREATE HASH INDEX [ database_name. | user_name. ] hash_index_name [, index ]
  ( column_name_1 [,...]) ON table_name 
  [ BY ( column_name_2 [,...]) ]
  [ ORDER BY {
      VALUES [ ( column_name_3 [,...] ) ] |
      HASH ( column_name_3 [,...] ) |
      ( column_name_3 [,...] )
    }
  ] [;]
index
{ MAP map_name [ COLOCATE USING colocation_name ] |
    [NO] FALLBACK [PROTECTION] |
    CHECKSUM = { ON | DEFAULT | OFF } |
    BLOCKCOMPRESSION = { AUTOTEMP | DEFAULT | MANUAL | NEVER }
} [,...]