I am trying to parse a field that is XML in a table and insert into a table. Where would be a good example to do this> I have attached the values from that field in a notepad++ file.
You'll first want to import the file into a table as an XML column. Then you can query the data from the XML in the table. Here's an example using the dbo.Staging table with a single column named Entries.
SELECT Name = fld.Doc.value('(@name)[1]', 'varchar(128)') FROM dbo.Staging i OUTER APPLY i.Entries.nodes('/entry/field') fld (Doc);