Closed SiPurdy closed 5 months ago
Thanks - yes, it looks like the IF
condition is overwriting the hints applied to the inner statements. I’ll take a look at this for the next release.
Thanks I think I owe you beer, coffee or both 😀. Any estimate on v.next release date? It does seem a massive release with a few bits I'm interested in.
I'm hoping to release it sometime in April - just doing some more testing on the conversions using the latest FetchXML features and I want to get the equivalent FetchXML -> SQL conversions in place as well.
Strange one.
Trying to activate/deactivate workflows through a script (trying to align ownership)
When I have a query like the following:
The hints all take affect, queries are run in series 1 at a time using SetState requests :).
If I have a similar query but inside a condition the hints aren't followed, for example
What's happening is that the MAXDOP and the USE_LEGACY_UPDATE_MESSAGES hints aren't being followed (it does seem to follow the batch size) and I'm getting errors around concurrent WorkflowSetState actions.
Am I hinting right?