0

XML データ列をデコードしたいと思います。

私のテーブル ( ) には、複数のレポートを含むdailyReports列がありますcol2

(col1)      (col2)
reportDate  xmldata
20130101    <t><m><s>234</s><ist>istanbul</ist><ino>17060</ino></m></t>    --1 xml rep.
20130102    <t><m><s>235</s><ist>izmir</ist><ino>12345</ino></m></t>...    --3 xml rep
20130103    <t><m><s>220</s><ist>ankara</ist><ino>98765</ino></m></t>...   --7 xml rep.
20130104    <t><m><s>234</s><ist>istanbul</ist><ino>17060</ino></m></t>... --4 xml rep.
20130105    <t><m><s>138</s><ist>edirne</ist><ino>17171</ino></m></t>...   --9 xml rep.
...

データをエクスポートしたいと思います。(各レポートは新しい行に移動する必要があります)

col1      col2  col3   col4
20130101  234   ist    17060 (first day 1 xml rep.)
20130102  235   izmir  12345 (second day 3 xml rep.)
20130102  220   ankara 98765 (second day 3 xml rep.)
20130102  138   edirne 17171 (second day 3 xml rep.)

...
3日目は7行
4日目は4行
5日目は9行
..

4

1 に答える 1