<?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>Question Re: Oracle case sensitivity in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423079#M3353963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Many DBMS's - not just Oracle - can be installed with or without case sensitivity. Normally, the DBA can change that on the DBMS server for either the server or the individual database (depending on the vendor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK: There is no way in PL/SQL to change this at run-time.&amp;nbsp;&amp;nbsp; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ... Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2013 13:16:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-17T13:16:00Z</dc:date>
    <item>
      <title>Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaq-p/9423078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My application (WizSource Source Control) comes in PB10 and PB10.5 versions and is designed to work with various databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have come across a problem with Oracle which appears to be caused by queries being case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure there is a session command I can use to change it to case insensitive but what exactly the command is, I don't know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate it if an Oracle guru could give an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 12:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaq-p/9423078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T12:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423079#M3353963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Many DBMS's - not just Oracle - can be installed with or without case sensitivity. Normally, the DBA can change that on the DBMS server for either the server or the individual database (depending on the vendor).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK: There is no way in PL/SQL to change this at run-time.&amp;nbsp;&amp;nbsp; &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1434/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ... Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 13:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423079#M3353963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T13:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423080#M3353964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The case sensitivity usually occurs because you have the element in quotes, remove the quotes and it will be case insensitive. Elements in oracle are automatically up-shifted when they are created in the database unless you wrap them in quotes, in which case you can have mixed case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to email directly with the SQL I'll give you the altered syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 13:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423080#M3353964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T13:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423081#M3353965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Case sensitive with respect to what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object names:&amp;nbsp; remove any quotation marks around object references.&amp;nbsp; Quotation marks means do a case senstive comparision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where clause:&amp;nbsp; Put UPPER or LOWER on both parts of the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sort:&amp;nbsp; Add order by nlssort(&amp;lt;insert column name here&amp;gt;,'NLS_SORT=BINARY_CI');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 13:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423081#M3353965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T13:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423082#M3353966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't a problem with the table/column names. I don't have quotes around the table/column names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is with the data not matching in the where clause. I don't care about sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This page mentions some alter session commands:&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/5391069/case-insensitive-searching-in-oracle"&gt;http://stackoverflow.com/questions/5391069/case-insensitive-searching-in-oracle&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 14:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423082#M3353966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T14:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423083#M3353967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOWER seems to be a function found on Microsoft, Sybase and Oracle so I think I'll try adding that to the WHERE clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423083#M3353967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T15:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423084#M3353968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, like i PowerBuilder ... adding a Lower ( ) or Upper ( ) method around your data will resolve your usage issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423084#M3353968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423085#M3353969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have these notes that i made for making Oracle case insensitve:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALTER SYSTEM SET NLS_COMP=LINGUISTIC SCOPE SPFILE; &lt;/P&gt;&lt;P&gt;ALTER SYSTEM SET NLS_SORT=BINARY_AI SCOPE SPFILE; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, make your indexes case insensitive too, like this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;create index index_name on table_name (NLSSORT (column_name, 'NLS_SORT=BINARY_CI') ); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;==============================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the performance of my app dropped to a such a degree that i didn't implement these changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 18:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423085#M3353969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-17T18:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423086#M3353970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only issue with using LOWER or UPPER is that the optimiser will not use indexes if you LOWER the data element. If it is just a data scan then it does not matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 09:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423086#M3353970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-20T09:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423087#M3353971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once my one Oracle customer verifies that LOWER fixes the problem, I think I'll back the change out and change it so that the data is always lower. I'll create a fix process for them to lower case their data. That will simplify my code and will have no impact on performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 10:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423087#M3353971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-20T10:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle case sensitivity</title>
      <link>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423088#M3353972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use functions (lower) in indexes in oracle.&amp;nbsp; The real problem with that approach is that the other databases that the app supports dont' support that.&amp;nbsp; So, you can speed up oracle to get around the oracle issue, but the other databases would do table scans.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 19:54:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/oracle-case-sensitivity/qaa-p/9423088#M3353972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-20T19:54:07Z</dc:date>
    </item>
  </channel>
</rss>

