Home Page for the TeradataForum
 
 

 

Archives of the TeradataForum





Message Posted: Mon, 15 May 2006 @ 09:04:11 GMT





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




Subj:   Duplicate unique prime key error
 
From:   Anomy Anom



<-- Anonymously Posted: Friday, May 12, 2006 19:45 -->

I am trying to insert data into a Teradata (V2R5.1) table with a Unique Primary Index structure (combination of varchar/integer columns).

Initially I had defined one of the primary index columns (say Col1) as an integer and the insert was successful. Later, for the same dataset, I modified the table structure so that Col1 was Char(n) and also included a default value for Col1. After redefining the table structure, I get this error - 2801: Duplicate unique prime key error in dbname.tabname

Has somebody faced this error before? Thanks in advance for inputs!





     
  <Prev Next>  
<<First
<Prev
Next> Last>>  
 
 
 
 
 
 
 
 
  
 
  Top Home Join Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky 
Last Modified: 30 Jun 2008