15.10 - Example: Adding a Name to a Previously Unnamed Primary 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

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;