update s set s.FieldLexem = '<lx:Case xmlns:lx="lexem">
    <When>
        <lx:Criteria type="Or">
            <lx:Criterion type="=">
                <lx:Path OwnerQueryLevel="0">
                    <lx:StepString name="VERSION" />
                </lx:Path>
                <lx:ConstOperand type="String"><![CDATA[3.3]]></lx:ConstOperand>
            </lx:Criterion>
            <lx:Criterion type="=">
                <lx:Path OwnerQueryLevel="0">
                    <lx:StepString name="VERSION" />
                </lx:Path>
                <lx:ConstOperand type="String"><![CDATA[4.0]]></lx:ConstOperand>
            </lx:Criterion>
        </lx:Criteria>
    </When>
    <Then>
        <lx:ConstOperand type="String"><![CDATA[4.0]]></lx:ConstOperand>
    </Then>
    <Else>
        <lx:ConstOperand type="String"><![CDATA[НЕ ОБНОВЛЯЕМ]]></lx:ConstOperand>
    </Else>
</lx:Case>'
from ies.T_SEARCH_CRITERIA s
join vclib.T_ENTITIES e on e.EntityID = s.type_
where e.EntName = 'UPDATE_CRITERIA'
and s.xPath = '//ZL_LIST/ZGLV/VERSION'