Creates a hash index on a base table.
CREATE HASH INDEX is a Teradata extension to the ANSI SQL:2011 standard. The ANSI SQL standard does not define DDL for creating indexes.
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
Privileges Granted Automatically