16.20 - Example: Creating a Named Unique Secondary Index - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

This example creates a named unique secondary index index_1. Index index_1 must not be an existing name in table table_1.

     CREATE UNIQUE INDEX index_1 (column_1, column_2) ON table_1;