I got this in a XML field in sql server 2005
<Details>
<Attribute Type="org">6800</Attribute>
<Attribute Type="fac">100</Attribute>
<Attribute Type="fac">200</Attribute>
</Details>
what would be the syntax to transform this into a table, like this
col_Type col_value
org 6800
fac 100
fac 200
I’m currently stuck with singleton error while writing my query
found how to do it
if someone want to know how: