I want to store xml in a table. Let's say I have following xml:
<Root>
<Row>
<Col1>Val1</Col1>
<Col2>Val1</Col2>
</Row>
<Row>
<Col1>Val2</Col1>
<Col2>Val2</Col2>
</Row>
</Root>
Is it possible to use OpenXML to insert each <Row>...</Row> as a single row in table? In the above example I want to have 2 rows in the table.
<Root>
<Row>
<Col1>Val1</Col1>
<Col2>Val1</Col2>
</Row>
<Row>
<Col1>Val2</Col1>
<Col2>Val2</Col2>
</Row>
</Root>
Is it possible to use OpenXML to insert each <Row>...</Row> as a single row in table? In the above example I want to have 2 rows in the table.