<query id="updateDocumentExtraVarIdxOrder" action="update">
	<tables>
		<table name="document_extra_vars" />
	</tables>
	<columns>
		<column name="var_idx" default="minus(1)" />
	</columns>
	<conditions>
		<condition operation="equal" column="module_srl" var="module_srl" filter="number" notnull="notnull" />
		<condition operation="excess" column="var_idx" var="var_idx" filter="number" notnull="notnull" pipe="and" />
	</conditions>
</query>
