|
|
Archives of the TeradataForum
Message Posted: Fri, 02 Aug 2002 @ 14:09:22 GMT
Subj: | | Re: Update through a Join |
|
From: | | Ferry, Craig |
Try this syntax
UPDATE RMSCON_V01
FROM DEVCONS_V
SET CON_SRKY_ID = 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;
| |