15.10 - Example: Adding a Name to a Previously Unnamed Primary Index - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Content Type
Programming Reference
Publication ID
B035-1144-151K
Language
English (United States)

To name the primary index of the orders table defined in Table Definitions for Examples, you could perform the following request:

     ALTER TABLE orders 
     MODIFY PRIMARY INDEX ordpi;