I’m using an Xml field in my Sql Server database table. I’m trying to search a word using the XQuery contains method but it seems to search only in case sensitive mode. The lower method isn’t implemented on Sql Server XQuery implementation also. ¿Is there a simple solution to this problem?
Share
If you’re using SQL Server 2005, I’m afraid you’re out of luck.
If you’re using SQL Server 2008, you can use the upper-case function like this :
Here’s a link on MSDN for the upper-case syntax and a couple search examples :
http://msdn.microsoft.com/en-us/library/cc645590.aspx