</pre>
With {{Version|9.0.1}}, the option can also be assigned to predicates with dynamic values. In the following example the comparison of the first comparison will be rewritten for index access. Without the pragma expression, the second comparison is preferred and chosen for the rewriting, because the statically known string allows for an exact cost estimation:
<pre class="brush:xquery">
=Changelog=
;Version 9.0.1
* Updated: [[#Enforce Rewritings|Enforce Rewritings]], support for comparisons with dynamic values.