1
我有存儲在SQL Server XML列中的Google地理編碼API的XML響應。有人能幫助我一個查詢,該查詢將返回XML包含> 1結果的所有行嗎?SQL查詢+ Google地理編碼響應XML
例如
<GeocodeResponse>
<status>OK</status>
<result></result> <!-- more than one result is present -->
<result></result>
<result></result>
</GeocodeResponse>
因此,像這樣給我的第一個結果:
SELECT XmlResponse.query('/GeocodeResponse/result') FROM Locations
但我不知道在哪裏何去何從......
這太棒了。謝謝! – 2011-05-25 21:21:02