Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 19 Apr 2005 @ 15:05:34 GMT


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


Subj:   Re: Problem with PPI Table Creation?
 
From:   Victor Sokovin

  I am trying to create a PPI table as given below.  


          > CREATE TABLE Simple (a INT, b INT, c INT)
          >         UNIQUE PRIMARY INDEX (a,b)
          >         PARTITION BY RANGE_N (c BETWEEN 1 AND 100 EACH 10);
  This gives an error UNIQUE is not allowed . I don't know how partitioning column is afftecting the UNIQUE ness of PI? Any reasons?  


Try UNIQUE PRIMARY INDEX (a,b,c). I think it should work (formally) but I am not sure it is the index you were expecting to define.

The limitation is mentioned in the documentation (SQL Reerence: DDL). It is not a bug.


Regards,

Victor



     
  <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