The following won't execute as "Query Not Updateable"
What I'm trying to do is get the maximum Original Collection date [OriginalCollectionDate], for each Job from the raw data. The [Raw Data full set] and [Raw data Enhanced Full Set] are a 1 to 1 relationship (ID fields are the keys). The Raw data is limited by the AegisJobname for the row being updated.
UPDATE distinctrow AegisJobNames
SET AegisJobNames.LastImportDate =
(select max(rdefs.originalcollectiondate) as Odate from [Raw Data Enhanced full set] as RDEFs inner join [raw data full set] as rdfs on rdefs.id=[rdfs].id where (rdfs.job=[AegisJobNames].AegisJobName) );
Anyone knows a good description for using sub queries referring back to the parent query?
tia
Ken