我正在更新表格,但收到错误。下面是我的代码:
update dim set dim.firstname=x.firstname
from
db1.new_table1 as dim join db2.table2 as x on (x.recid=dim.recid)
where dim.firstname<>x.firstname;
这是我的错误:
Error while compiling statement: FAILED: ParseException line 17:64 mismatched input '.' expecting = near 'dim' in update statement
关于我为什么不断收到此错误的任何建议?