问题描述
我正在尝试使用ADF V2将XML数据加载到Azure表中。有一个将XML作为源的连接器,但是由于某种原因,我无法按要求加载数据。
因此,我尝试将整个XML加载到阶段表Column(XML TYPE)中,以便可以使用XQuery获得所需的结果,但无法这样做。
是否有任何其他想法可以使用Azure Stack通过其他方式加载和查询数据?
解决方法
我不确定您的错误是什么,但是我确实将下面的虚拟XML数据上传到SQL。
XML虚拟
<note>
<record>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</record>
<record>
<to>Tove1</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</record>
<record>
<to>Tove2</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</record>
</note>
这是我的输出。
如果您有任何疑问,请告诉我。
谢谢 Himanshu