|
|
Archives of the TeradataForum
Message Posted: Sun, 27 Jan 2013 @ 23:21:59 GMT
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
| |