Any thoughts on why this query won't work in Access DB ?
The answer is that ACE / Jet SQL syntax is not compatible with SQL-92 (even in ANSI-92 Query Mode!).
I assume yours is a scalar subquery. This design is simply not supported by ACE / Jet.
ACE / Jet has its own dodgy and erroneous UPDATE..JOIN syntax, erroneous because the engine does not force the JOIN ed values ββto be scalar, and it is free to use an arbitrary value. This again differs from the UPDATE..JOIN SQL Server syntax, but at least SQL Server supports the standard scalar subquery as an alternative. ACE / Jet forces you to either learn your fancy non-portable methods or use an alternative SQL product.
Sorry that the sound is negative: the ACE / Jet engine is great software, but the UPDATE syntax is absolutely fundamental and the fact that it has not been changed since the SQL-92 standard really shows its age.
onedaywhen
source share