Skip to content
Advertisement

Loop through XML using SQL

I have this XML in a column in a MSSQL table

I would like for it to return these columns:

I have tried

But I would like for it to loop through every value instead of me inserting which line it is supposed to extract from.

Advertisement

Answer

Another way to skin the cat…

Demo

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement