<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Querytask for a mixed case letters in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-for-a-mixed-case-letters/m-p/692823#M17796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Where clause is passed to the storage as is, so the behavior depends on database settings (if you use db as the storage).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example SQL Server has the collation settings for a db and it can be either CI (case insensitive) or CS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also you can use functions that your storage supports. For example string function UPPER for SQL Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;UPPER(LINENAME)='STONE YARD'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 04:14:37 GMT</pubDate>
    <dc:creator>DenisT</dc:creator>
    <dc:date>2013-12-09T04:14:37Z</dc:date>
    <item>
      <title>Querytask for a mixed case letters</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-for-a-mixed-case-letters/m-p/692822#M17795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am performing a query task for a layer whose display field is LINENAME.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This filed LINENAME has attributes in mixed case lettera. For example one of the atrribute is "Stone Yard".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As of now, only if I enter the attribute name as "Stone Yard" - which is as it is in the layer's non spatial data - it works, but with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mix of upper and lower case like "STone YARD" or "STONE YARD" or "stone yard" doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what updates I have to do for the below statement irrespective of what I enter - upper or lower case, or mix of upper and lower - the query must work :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;txtRailline is the text box for the user to enter the LINENAME attribute : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;query5.Where = "LINENAME ='" + txtRailline.Text.ToString(). + "'" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for going through the message and providing your inputs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 16:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-for-a-mixed-case-letters/m-p/692822#M17795</guid>
      <dc:creator>srikanthpilli</dc:creator>
      <dc:date>2013-12-06T16:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Querytask for a mixed case letters</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-for-a-mixed-case-letters/m-p/692823#M17796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Where clause is passed to the storage as is, so the behavior depends on database settings (if you use db as the storage).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example SQL Server has the collation settings for a db and it can be either CI (case insensitive) or CS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also you can use functions that your storage supports. For example string function UPPER for SQL Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;UPPER(LINENAME)='STONE YARD'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 04:14:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-for-a-mixed-case-letters/m-p/692823#M17796</guid>
      <dc:creator>DenisT</dc:creator>
      <dc:date>2013-12-09T04:14:37Z</dc:date>
    </item>
  </channel>
</rss>

