This is the statement I am using in SQL Executor. It runs fine in SQL Server Management studio.
update a set ParcelID = NewParcelID, KOAUnitID
from
(select a.ParcelID,b.ParcelID NewParcelID,a.KOA_UNIT_ID KOAUnitID from
[GISStaging].[dbo].[KAINGAORALETTABLEUNITSTAGINGNZTM] a left join
GISPublish.dbo.Parcel b on a.shape.STIntersects(b.shape) = 1) a
and this is the error message:
Microsoft SQL Server Spatial Reader: Query failed, possibly due to a malformed statement. Query Text `update a set ParcelID = NewParcelID, KOAUnitID
from
(select a.ParcelID,b.ParcelID NewParcelID,a.KOA_UNIT_ID KOAUnitID from
[GISStaging].[dbo].[KAINGAORALETTABLEUNITSTAGINGNZTM] a left join
GISPublish.dbo.Parcel b on a.shape.STIntersects(b.shape) = 1) a'. Provider error `(-2147217900) Incorrect syntax near the keyword 'from'.'
A fatal error has occurred. Check the logfile above for details