Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.0.14, 1.2.2
-
None
-
None
Description
In the RDBDocumentStore we currently use "GREATEST" for conditional updates of the MODIFIED column (implementing the "max" operation). This isn't supported by SQLServer, thus requiring DB-specific code.
It appears we can use something portable instead:
"set MODIFIED = CASE WHEN ? > MODIFIED THEN ? ELSE MODIFIED END"