Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 23 Jul 2012 @ 14:13:39 GMT


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


Subj:   Re: Regarding Table creation with PPI
 
From:   De Pons, Paul

You either need to cast as a DATE or an INTEGER. ?Don't know your data demographics but do you really want to go down to second? ?I include the syntax to cast partition the timestamp by date.

"CREATE TABLE Failed. 3732:??The facility of a test value with a data type other than BYTEINT, SMALLINT, INTEGER, DATE, character or graphic has not been implemented yet."


To partition by Date:

     PARTITION BY RANGE_N(CAST((TRNS_DATE ) AS DATE)
        BETWEEN DATE '2012-07-23' AND DATE '2012-10-23'
        EACH INTERVAL '1' DAY , NO RANGE);


     
  <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