Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Thu, 06 Mar 2003 @ 17:48:16 GMT





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




Subj:   Column order in Primary index
 
From:   Ruth Fenwick



A developer came to me with the following

they ran:

create table taba (col1,col2,col3,col4,col5....)
primary index (col5,col3,col1)

But a show table shows

primary index (col1,col3,col5)

I know that it doesn't matter what order the columns are in on the index since they're all in the row hash and teradata probably likes them in the order they're defined in the table (make sense to me)

I can't find it documented anywhere, does anyone know where it's documented that teradata will reorder the index to be in the column definition order. Failing that, does someone have a good explanation I can pass on.


Thanks,

Ruth





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008