Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sun, 27 Jan 2013 @ 23:21:59 GMT


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


Subj:   Column constraints
 
From:   Issah, Gabriel

I need help to with the below table with constraint, when I try to load I get error below

     0 WARNING.. ON MATCH INCLUDE INPUTS DUPLICATE SEGMENTS
        (FOC1400) SQLCODE IS 2801 (HEX: 00000AF1)
          : Duplicate unique prime key error in DEV.tblElig


     CREATE MULTISET TABLE DEV.tblElig ,NO FALLBACK ,
          NO BEFORE JOURNAL,
          NO AFTER JOURNAL,
          CHECKSUM = DEFAULT,
          DEFAULT MERGEBLOCKRATIO
          (
           EligValue CHAR(18) CHARACTER SET LATIN CASESPECIFIC,
           EID INTEGER NOT NULL,
           EligCode VARCHAR(2) CHARACTER SET LATIN CASESPECIFIC NOT NULL,
           ModifiedDate DATE FORMAT 'YY/MM/DD' NOT NULL,
           CurrInd BYTEINT,
     CONSTRAINT fk_EID_5 FOREIGN KEY ( EID ,ModifiedDate )
           REFERENCES Dev.tblE ( EID , ModifiedDate ),
     CONSTRAINT fk_EligCode_1 FOREIGN KEY ( EligCode )
           REFERENCES Dev.lkElig ( EligCode ))
     UNIQUE PRIMARY INDEX ( EID ,EligCode ,ModifiedDate );

Thanks



     
  <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