|
|
Archives of the TeradataForum
Message Posted: Tue, 19 Apr 2005 @ 15:05:34 GMT
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
| |