Im trying to do an UPDATE on a HANA DB with a Join. An online SQL Checker shows a Valid Syntax and after i found this: https://answers.sap.com/questions/11364926/sql-update-join-error.html i changed the order too of my update. It still gives this error:
sql syntax error: incorrect syntax near "LEFT": line 3 col 1 (at pos 119)
The Update looks like this (censored cause it includes some Data from my Company):
UPDATE TABX AS a
SET b.att1 = 'XXX', b.att2 = 'ZZZ'
LEFT JOIN TABZ AS b ON a.att3 = b.att3
WHERE a.att4 LIKE 'YYY'
AND att5 = 'PPP'
AND is_valid = 'TRUE'
According to the Post on SAP Answers it should work. And i know i did this on previous SQL-Databases, but HANA is now the First time.
How do i solve this?