|
|
Archives of the TeradataForum
Message Posted: Sat, 03 Apr 2010 @ 20:46:51 GMT
Subj: | | 05565 Error: Update in the update statement is a Complex Update |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Thursday, April 01, 2010 09:58 -->
CREATE MULTISET TABLE LKP_VALUES, NO FALLBACK,
NO BEFORE JOURNAL,
NO AFTER JOURNAL,
CHECKSUM = DEFAULT
(
ELEM_ID INTEGER NOT NULL,
ELEM_NM VARCHAR(50) CHARACTER SET LATIN CASESPECIFIC,
VALUE1 VARCHAR(2000) CHARACTER SET LATIN CASESPECIFIC,
VALID_IND SMALLINT,
LOAD_TS TIMESTAMP(0) NOT NULL)
PRIMARY INDEX ( ELEM_ID );
UPDATE LKP_VALUES SET VALID_IND=1 WHERE VALUE1 ='ABC' AND
LOAD_TS='2010-03-31 07:42:22'
ELSE
INSERT INTO LKP_VALUES (9,'DTRCOMMENT','ABC',1,'2010-03-31 07:42:22');
5565 Error: The update specified in the update statement is a Complex Update.
The update fails for Complex update!! Help me guys!
There are no secondary indexes defined on the table.
| |