[英]xpath/xquery sql - Get all values
嗨,我有一滴xml ..
<string>1</string>
<string>2</string>
<string>3</string>
<string>4</string>
<string>11</string>
<string>1211</string>
<string>12331</string>
如何在SQL中使用xpath / xquery获取所有值
谢谢
xpath //string
将返回intire xml中的所有值,而xpath /string
将仅返回根节点中的值。
对于在sql中使用它,请看这篇XPath来获取SQL XML值
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.