CREATE JOIN INDEX SQL Statement | VantageCloud Lake - CREATE JOIN INDEX - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-04-11
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

The ANSI SQL standard does not define DDL for creating indexes.

Other SQL dialects support similar non-ANSI standard statements with names such as the following:

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.

Privileges Granted Automatically

Owners have implicit privileges on the join index. The following default privileges are granted to the creator of a join index:
  • DROP TABLE
  • DUMP
  • INDEX
  • RESTORE
  • SELECT