15.10 - CREATE JOIN 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 join index for one or multiple tables, optionally with aggregation.

Required Privileges

You must have the following sets of privileges to create a join index:

  • CREATE TABLE on the database in which the join index is to be created.
  • DROP TABLE or INDEX on each of the covered tables or their containing databases.

Owners have implicit privileges on the join index. The following default privileges are granted automatically to the creator of a join index:

  • DROP TABLE
  • DUMP
  • INDEX
  • RESTORE
  • SELECT

Syntax