Archives of the TeradataForum
Message Posted: Mon, 15 May 2006 @ 09:04:11 GMT
<-- 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!
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|