<?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: Find value that are lowercase in where clause in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775941#M39788</link>
    <description>&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response!&amp;nbsp; I've ran your query and it worked perfectly, but when i run it on my end on my server Teradata table, see results below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_0-1634926905304.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64962i3D09537B7766FE14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_0-1634926905304.png" alt="ljim1075_0-1634926905304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I look for the particular primary key the I know it has lower case, see response below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_1-1634927090203.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64964i18236117A19C0F63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_1-1634927090203.png" alt="ljim1075_1-1634927090203.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also when I submit a proc freq query, see response below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_2-1634927209396.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64965i368680FAEF7DF27D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_2-1634927209396.png" alt="ljim1075_2-1634927209396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It almost assumes that 'J' and 'j' are the same&lt;/P&gt;&lt;P&gt;There are no errors in the log.&amp;nbsp; Let me know what you think...&lt;/P&gt;&lt;P&gt;TY!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 18:28:38 GMT</pubDate>
    <dc:creator>ljim1075</dc:creator>
    <dc:date>2021-10-22T18:28:38Z</dc:date>
    <item>
      <title>Find value that are lowercase in where clause</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775908#M39786</link>
      <description>&lt;P&gt;I have a field_name that it's format is $1, meaning 1 character value.&amp;nbsp; I'm trying to pull the values that are in lowercase ONLY.&amp;nbsp; Can you assist?&lt;/P&gt;&lt;P&gt;query:&lt;/P&gt;&lt;P&gt;proc print data=tera.Table_A (obs=10);&lt;BR /&gt;where field_name in ('b');&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the above query it returns all uppercase 'B' and lowercase 'b'&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 16:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775908#M39786</guid>
      <dc:creator>ljim1075</dc:creator>
      <dc:date>2021-10-22T16:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Find value that are lowercase in where clause</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775915#M39787</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/401713"&gt;@ljim1075&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a field_name that it's format is $1, meaning 1 character value.&amp;nbsp; I'm trying to pull the values that are in lowercase ONLY.&amp;nbsp; Can you assist?&lt;/P&gt;
&lt;P&gt;query:&lt;/P&gt;
&lt;P&gt;proc print data=tera.Table_A (obs=10);&lt;BR /&gt;where field_name in ('b');&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run the above query it returns all uppercase 'B' and lowercase 'b'&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you sure that's what's happening?&lt;/P&gt;
&lt;P&gt;Can you post the output and log?&lt;/P&gt;
&lt;P&gt;That shouldn't happen AFAIK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, is tera.table_A a SAS dataset or is it a data set from a server? If server, what type?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Cannot replicate your issue, does the example below run as expected&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input field_name $1.;
cards;
b
B
a
c
C
d
d
D
b
b
B
f
;
run;

proc print data=have(obs=10);
where field_name in ('b');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Oct 2021 16:16:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775915#M39787</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-22T16:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find value that are lowercase in where clause</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775941#M39788</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response!&amp;nbsp; I've ran your query and it worked perfectly, but when i run it on my end on my server Teradata table, see results below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_0-1634926905304.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64962i3D09537B7766FE14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_0-1634926905304.png" alt="ljim1075_0-1634926905304.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I look for the particular primary key the I know it has lower case, see response below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_1-1634927090203.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64964i18236117A19C0F63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_1-1634927090203.png" alt="ljim1075_1-1634927090203.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also when I submit a proc freq query, see response below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ljim1075_2-1634927209396.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64965i368680FAEF7DF27D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ljim1075_2-1634927209396.png" alt="ljim1075_2-1634927209396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It almost assumes that 'J' and 'j' are the same&lt;/P&gt;&lt;P&gt;There are no errors in the log.&amp;nbsp; Let me know what you think...&lt;/P&gt;&lt;P&gt;TY!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 18:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775941#M39788</guid>
      <dc:creator>ljim1075</dc:creator>
      <dc:date>2021-10-22T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Find value that are lowercase in where clause</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775954#M39790</link>
      <description>Teradata can have columns that are casespecific or noncasespecific. Can you check the attributes on that column in Teradata?&lt;BR /&gt;I suspect that's the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.teradata.com/r/1DcoER_KpnGTfgPinRAFUw/G2qHRG2iKwM5d1Ui61MgCA" target="_blank"&gt;https://docs.teradata.com/r/1DcoER_KpnGTfgPinRAFUw/G2qHRG2iKwM5d1Ui61MgCA&lt;/A&gt;</description>
      <pubDate>Fri, 22 Oct 2021 19:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/775954#M39790</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-22T19:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Find value that are lowercase in where clause</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/776515#M39794</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the info that you've provided, I've found this doc:&amp;nbsp;&lt;A href="https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/access_teradata_9298.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_913/access_teradata_9298.pdf&lt;/A&gt;&amp;nbsp;which clarifies some of the case sensitive issues with Teradata.&amp;nbsp; To solve for 90% of my issue I've added&amp;nbsp;&lt;STRONG&gt;DBSLICEPARM = All&lt;/STRONG&gt; into my &lt;STRONG&gt;Libname&lt;/STRONG&gt; statement and it worked!&amp;nbsp; Now I say 90% solved, because when I run a PROC FREQ statement it still does not count the lowercase values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Overall, thank you for the info!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Oct 2021 14:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Find-value-that-are-lowercase-in-where-clause/m-p/776515#M39794</guid>
      <dc:creator>ljim1075</dc:creator>
      <dc:date>2021-10-26T14:46:52Z</dc:date>
    </item>
  </channel>
</rss>

