我有一个在MS SQL Server中运行良好的查询,但是当我在Oracle上运行它时出现以下错误:
SQL错误:ORA-00933:SQL命令未正确结束
查询是:
UPDATE TABLE1
SET ROW1 = dat.ROW1,
ROW2 = dat.ROW2,
ROW3 = dat.ROW3
FROM TABLE1 AS dest
INNER JOIN TABLE2 AS dat ON dest.ROW4 = dat.ROW4 AND dest.ROW5 = dat.ROW5 AND dest.ROW6 = dat.ROW6
WHERE dest.ROW4 = dat.ROW4
AND dest.ROW5 = dat.ROW5
AND dest.ROW6 = dat.ROW6