Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 08 Mar 2012 @ 16:50:51 GMT

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

Subj:   Re: Partitioning on different column to PI
From:   Pluebell, Fred

The other responses are correct, but I prefer to explain it from a slightly different point of view:

If the partitioning column(s) are not part of the Primary Index, then you cannot declare the PI as UNIQUE.

In this case, if you need to enforce a uniqueness constraint on the PI columns, then you must add a USI with the same columns as the PI.

  <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: 28 Jun 2020