Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Apr 2010 @ 13:44:59 GMT


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


Subj:   PPI on Date and Char data
 
From:   Bakane, Raju

Hi,

I want to create PPI on date and Char data columns. Date column is having few distinct Date values and Char column has Y/N values.

I have given following command to create PPI. but it failed for two diff data type.

Yes, I can create PPI on only Date column but not able to create on both (date & Char) column.

     PARTITION BY (
     RANGE_N
     (DT_ColBETWEEN DATE '2009-01-01' AND DATE '2015-12-31'
     EACH INTERVAL '1' MONTH)),
     HASHBUCKET(HASHROW( Char_col)) MOD 64000 )

OR Can you please suggest me any other option for Char column

Any help is appreciated!


Thanks,

Raju



     
  <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