I’ve got an XML object. And I want to deserialize it into a table using T-SQL.
<Params>
<type = 1>
<value> 10 </value>
</type>
<type = 2>
<value> abc </value>
</type>
</Params>
How can I store this data into a table like this:

Thanks!
Your XML is not valid – but if you had something like this:
then you could use this XQuery / SQL statement to get what you’re looking for:
I’m not clear how/what the
idcolumn is supposed to be – care to explain?