0

Is there a way to query an Xml column in SQL Server using Linq-to-SQL?

I want to be able to do contains or Like operator on specific nodes in the XML.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Sam
  • 933
  • 5
  • 14
  • 26

1 Answers1

0

It seems, there is no direct/easy way in which you query xml column of database that too using XPath apis, apart from contains/like construct, which gets applied to string content of the xml.

Pravin Pawar
  • 2,559
  • 3
  • 34
  • 40