About 262,000 results
Open links in new tab
  1. How can I query a value in SQL Server XML column

    Apr 27, 2012 · In my case, I had to query nodes with specific attribute value. This answer was the lead to my solution. I just had to put double quotes around the attribute value.

  2. How to query for Xml values and attributes from table in SQL …

    I've hunted, and it's amazing how poorly documented, or exampled, Xml querying is. Most resources rather than querying a table, query a variable; which I'm not doing. Most resources …

  3. Getting multiple records from xml column with value() in SQL Server

    Getting multiple records from xml column with value () in SQL Server Asked 16 years, 1 month ago Modified 2 years, 4 months ago Viewed 37k times

  4. Where clause when using XML in SQL - Stack Overflow

    May 10, 2013 · The point really is that you're not using SQL at all when it comes to XML fields. You're actually using a form of XPath. That question has links that explain how it works. You …

  5. Select values from XML field in SQL Server 2008 - Stack Overflow

    Apr 24, 2015 · Considering that XML data comes from a table 'table' and is stored in a column 'field': use the , extract values with xml.value(), project nodes with xml.nodes(), use CROSS …

  6. How Stuff and 'For Xml Path' work in SQL Server?

    Jul 4, 2015 · Here is how it works: 1. Get XML element string with FOR XML Adding FOR XML PATH to the end of a query allows you to output the results of the query as XML elements, …

  7. How to export XML using a SQL Server query? - Stack Overflow

    7 Let's say I have a table Employee like this EmpID, EmpName 1 , hatem and I write a query: select * from Employee for xml auto so the output will be in XML format. I want to know how …

  8. Use a LIKE statement on SQL Server XML Datatype

    Dec 2, 2009 · Use a LIKE statement on SQL Server XML Datatype Asked 15 years, 10 months ago Modified 2 years, 1 month ago Viewed 188k times

  9. sql server - How to query values from xml nodes? - Stack Overflow

    How to query values from xml nodes? Asked 12 years, 8 months ago Modified 5 years, 7 months ago Viewed 173k times

  10. How to parse XML data in SQL server table - Stack Overflow

    Sep 10, 2018 · It is a very bad idea to store XML data in a string column. Even worse, you are storing a string, which is claiming I'm encoded as utf-8!, but it is stored in a column of …