<?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: Select statement to search - case sensitive in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954812#M1336735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know the syntax for DB2 and MSSQL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 11:42:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-23T11:42:02Z</dc:date>
    <item>
      <title>Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954806#M1336729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to do a search on the field BSTKD_E for table VBKD. However that field is case sensitive. We do not know what the users will input to do a search, therefore I need to search regardless of whether it is in uppercase, lowercase or mixed. I understand that it can be done by EXEC SQL. But besides this, any other method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using MSSQL now but will be migrating to DB2 soon. I heard that the EXEC SQL is server dependent. Is it so? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, can somebody help me to code the following to be native SQL for MSSQL and DB2? (Actually hope not to use this method)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT f&lt;SUB&gt;vbeln f&lt;/SUB&gt;posnr INTO TABLE lt_vbeln &lt;/P&gt;&lt;P&gt;FROM vbkd AS f JOIN vbup AS p ON f&lt;SUB&gt;vbeln = p&lt;/SUB&gt;vbeln AND &lt;/P&gt;&lt;P&gt;f&lt;SUB&gt;posnr = p&lt;/SUB&gt;posnr JOIN vbak AS k ON f&lt;SUB&gt;vbeln = k&lt;/SUB&gt;vbeln &lt;/P&gt;&lt;P&gt;WHERE f&lt;SUB&gt;bstkd_e in lr_po_num AND p&lt;/SUB&gt;absta NE 'C' AND k~auart = 'ZOR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 10:24:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954806#M1336729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T10:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954807#M1336730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;convert the input that user enters into uppercase always. Irrespective of whether the user entrs in upper case or lower case, convert it into uppercase always and then try to search the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 10:31:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954807#M1336730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T10:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954808#M1336731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as i understand the case sensitive search can be handled with native SQL only.&lt;/P&gt;&lt;P&gt;I heard that the EXEC SQL is server dependent. Is it so? ==&amp;gt; yes &lt;/P&gt;&lt;P&gt;Regarding the syntax , it varies for diff DB platforms .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 10:32:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954808#M1336731</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-07-23T10:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954809#M1336732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;    you can convert the   BSTKD_E for table VBKD value into uppercase /lowercase no matter what user enters and then use it in select query.&lt;/P&gt;&lt;P&gt;TRANSLATE text TO UPPER CASE.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viquar iqbal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 10:32:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954809#M1336732</guid>
      <dc:creator>viquar_iqbal</dc:creator>
      <dc:date>2009-07-23T10:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954810#M1336733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear priti suryawanshi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if the value in db table-field contains mixed cases ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Qn is discussed several times in this forum..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its better get the values into a itab and then use some functions on that field to sort it out !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 10:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954810#M1336733</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-07-23T10:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954811#M1336734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user will enter in the sales order and I don't think I can control on how they enter it and there are already records with mixed uppercase and lowercase. Therefore would prefer to to control it in the program itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954811#M1336734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T11:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954812#M1336735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know the syntax for DB2 and MSSQL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954812#M1336735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T11:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954813#M1336736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viquar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that this can work. But I will be pulling alot of data from the DB and this will slow down the performance of the program. Therefore wondering if there are better methods.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954813#M1336736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T11:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954814#M1336737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that this can work. But this will be pulling alot of data from the DB and this will slow down the performance of the program. Therefore wondering if there are better methods.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954814#M1336737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954815#M1336738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately no , but you may search in other forms .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 11:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954815#M1336738</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-07-23T11:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement to search - case sensitive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954816#M1336739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cannot find any better solution, therefore decided to translate the data in the table to uppercase using an update program. Also added in user exit to translate to uppercase for all future SO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2009 06:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement-to-search-case-sensitive/m-p/5954816#M1336739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-19T06:26:07Z</dc:date>
    </item>
  </channel>
</rss>

