Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 27 Dec 2006 @ 21:43:31 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Change Index Name
 
From:   Mark Jahnke

Hi:

I found a little known way to change the name of a PI. I think it came in with PPI, but it works with NPPI too. (Of course, you cannot change the PI columnname this way - just the name.) See Page 1-19 of the SQL Data Definition Language Statements Manual V2R5.1, B035-1144-083A, November 2003

     ALTER TABLE databasename.tablename
        MODIFY PRIMARY INDEX indexname ( columnname );

Mark Jahnke
Teradata DBA



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023