有人可以幫助使用此表,請將頁面大小值從25更改爲5000?SQL SERVER中的XML值更新
Select input_xml
From create_report
Where report_name='test report';
上面的查詢這個數據
input_xml
<inputdata module="Vidoes">
<schedule enabled="true">
<recurrance>
<time run="21:27"/>
<pattern type="Daily">
<detail>9</detail>
</pattern>
<daterange start="13/05/2013 00:00:00" end="Never"/>
</recurrance>
<disk="true" toemails="true" custompathandname="" format="PDF"/>
</schedule>
<params>
<param name="summary_detail">Enhanced</param>
<param name="reportType">VideoXML</param>
<param name="reportLabel">Todays Videos</param>
<param name="pageSize">25</param>
</params>
</inputdata>
這個查詢給了我這個錯誤「操作數類型衝突:xml與ntext不兼容」 –
這是在你將xml存儲在'ntext'列之前然後'xml'。這通常是可怕的想法,但如果你堅持使用它,你可以將我的代碼的第二行從'...)更改爲xml)''作爲ntext)''。 – nimdil
我的意思是「因爲」,而不是「之前」 – nimdil