I receive XML data like
<t>
<ID>8</ID>
<FirstName>name 8</FirstName>
<LastName>surname 8</LastName>
<DateOfBirth>1963-05-23T00:00:00</DateOfBirth>
</t>
In a SQL Server stored procedure. There are different xml data formats (the field numbers and field names can differ). Now, I should extract each field and it value and insert each field/value as a separate record in a table.
Are there examples how I can do this with TSQL?