0
我試圖替換跨xml文檔複製的字段ID = 29的「可見」屬性值。 的XML的一個例子如下發現:替換XML屬性的值
<Types>
<Type ID="4">
<Fields>
<Field ID="29" Visible="false"/>
</Fields>
</Type>
<Type ID="5">
<Fields>
<Field ID="29" Visible="true"/>
</Fields>
</Type>
<Type ID="6">
<Fields>
<Field ID="29" Visible="false"/>
</Fields>
</Type>
</Types>
我曾嘗試以下,但沒有成功:
update SF
set [Static_Form_Properties].modify('replace value of (/Field[@ID=29]/@Visible)[1] with ("true")')
from wf_workflow_step_form SF
任何幫助將greately讚賞。 感謝