Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Wed, 14 Oct 2009 @ 10:18:51 GMT


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


Subj:   Re: Using RANGE_N in Partition By
 
From:   G, Hemanth Kumar

Hi Srikanth,

The exact syntax works for me very well. But the syntax copied from your mail and executed, is giving the same error as you are saying. Not sure if there any extra characters in your syntax.

Now copy this text and try, it should work.

     CREATE MULTISET TABLE output
     ,NO FALLBACK
     ,NO BEFORE JOURNAL
     ,NO AFTER JOURNAL
     ,CHECKSUM=DEFAULT
     (
     A INTEGER NOT NULL DEFAULT 0,
     B INTEGER NOT NULL DEFAULT 0
     )PRIMARY INDEX(A,B)
     PARTITION BY RANGE_N  ( B BETWEEN 0  AND 9999 EACH 1 ) ;

Regards,

Hemanth.



     
  <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