我想知道如何将XML分层数据转换为表格格式并与SQL Server 2005 T-SQL(XPath/XQuery)中的其他关系数据库表连接。在T-SQL中将XML数据转换为表格格式
例如,
<Employees>
<Employee ID="001" Name="David" />
<Employee ID="002" Name="Mike" />
<Employee ID="003" Name="Alex" />
<Employee ID="004" Name="Morris" />
</Employees>
要..
ID Name
--------+--------
001 David
002 Mike
003 Alex
004 Morris
感谢您的建议。 :)
嗨乔..它看起来令人印象深刻..感谢您的回答... – 2010-12-23 15:41:02