Archives of the TeradataForum
Message Posted: Fri, 02 Aug 2002 @ 14:20:07 GMT
Subj: | | Re: Update through a Join |
|
From: | | Jeremy Christiansen |
The 'set' clause appears to omit a tablename. 'DEVCONS_V.CON_SRKY_ID' is a databasename followed by a columnname. Include the name of
the table.
UPDATE RMSCON_V01
SET CON_SRKY_ID = DEVCONS_V.CON_SRKY_ID
where RMSCON_V01.CON_ID = DEVCONS_V.CON_V01.CON_ID
and RMSCON_V01.COM_ID = DEVCONS_V.CON_V01.COM_ID
and RMSCON_V01.BUL_ID_ORIG= DEVCONS_V.CON_V01.BUL_ID_ORIG
and RMSCON_V01.CON_CREATE_DT = DEVCONS_V.CON_V01.CON_CREATE_DT
and RMSCON_V01.CON_CREATE_TM = DEVCONS_V.CON_V01.CON_CREATE_TM;
|