jendeacott
Programmer
Hi,
I have an application that stores well formatted XML in a varchar database field.
This works fine when I'm working with the data in c# as I can extract the field and interrogate it as an XML document using nodes etc.
My question is this, is it possible to interrogate the XML string in T-SQL?
For example looping through the nodes etc.
I know it is possible to retrieve fields from a table as XML using FOR XML, but this wont work for my problem as all the data is within one field.
Here's hoping I don’t have to wait for Yukon!!
Many thanks
Find out you can improve your plant security and plant tracking
¦
I have an application that stores well formatted XML in a varchar database field.
This works fine when I'm working with the data in c# as I can extract the field and interrogate it as an XML document using nodes etc.
My question is this, is it possible to interrogate the XML string in T-SQL?
For example looping through the nodes etc.
I know it is possible to retrieve fields from a table as XML using FOR XML, but this wont work for my problem as all the data is within one field.
Here's hoping I don’t have to wait for Yukon!!
Many thanks
Find out you can improve your plant security and plant tracking
¦