This is driving me crazy, why is the following code:
update bell.ldbase2011
set
FORBEARANCE_IND = FORBEARANCE_IND
FROM
bell.forbearance2 AS f left join bell.ldbase2011.FORBEARANCE_IND AS b
ON
f.ACCT_ID = b.ACCT_ID
Give me an error in the log:
1544 update bell.ldbase2011 k
1545
1546 set
1547 FORBEARANCE_IND = bell.forbearance2.FORBEARANCE_IND
-
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, !!, *, **, +, ',', -, /, WHERE,
||.
ERROR 76-322: Syntax error, statement will be ignored.
1548 FROM
1549 bell.forbearance2 AS f left join bell.ldbase2011.FORBEARANCE_IND AS b
1550 ON
1551 f.ACCT_ID = b.ACCT_ID
1552 Quit;
update bell.ldbase2011
set
FORBEARANCE_IND = FORBEARANCE_IND
FROM
bell.forbearance2 AS f left join bell.ldbase2011.FORBEARANCE_IND AS b
ON
f.ACCT_ID = b.ACCT_ID
Give me an error in the log:
1544 update bell.ldbase2011 k
1545
1546 set
1547 FORBEARANCE_IND = bell.forbearance2.FORBEARANCE_IND
-
22
76
ERROR 22-322: Syntax error, expecting one of the following: ;, !!, *, **, +, ',', -, /, WHERE,
||.
ERROR 76-322: Syntax error, statement will be ignored.
1548 FROM
1549 bell.forbearance2 AS f left join bell.ldbase2011.FORBEARANCE_IND AS b
1550 ON
1551 f.ACCT_ID = b.ACCT_ID
1552 Quit;