<?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: Proc SQL in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL/m-p/68220#M19535</link>
    <description>with $reverse when you see Pop, it is stored as poP&lt;BR /&gt;
so reverse the quoted string in the sql syntax, like&lt;BR /&gt;
where content_category = 'poP' ;&lt;BR /&gt;
&lt;BR /&gt;
If the comparison need not be case sensitive, use&lt;BR /&gt;
where lowcase(content_category) = 'pop' ;&lt;BR /&gt;
 &lt;BR /&gt;
why use the IN( ) ?&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
    <pubDate>Wed, 02 Feb 2011 15:02:25 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2011-02-02T15:02:25Z</dc:date>
    <item>
      <title>Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL/m-p/68219#M19534</link>
      <description>Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I use :&lt;BR /&gt;
&lt;BR /&gt;
PROC SQL;&lt;BR /&gt;
	CREATE TABLE pop AS&lt;BR /&gt;
SELECT *&lt;BR /&gt;
FROM a &lt;BR /&gt;
where content_category in('Pop');&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
I have used the format  $REVERS35. for content_category. But when I run this code I do not get any output and no data is retreived even when there is data in 'a' that has 'Pop' in content_category.&lt;BR /&gt;
&lt;BR /&gt;
Kindly suggest.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
K.Q</description>
      <pubDate>Wed, 02 Feb 2011 14:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL/m-p/68219#M19534</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-02-02T14:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL/m-p/68220#M19535</link>
      <description>with $reverse when you see Pop, it is stored as poP&lt;BR /&gt;
so reverse the quoted string in the sql syntax, like&lt;BR /&gt;
where content_category = 'poP' ;&lt;BR /&gt;
&lt;BR /&gt;
If the comparison need not be case sensitive, use&lt;BR /&gt;
where lowcase(content_category) = 'pop' ;&lt;BR /&gt;
 &lt;BR /&gt;
why use the IN( ) ?&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Wed, 02 Feb 2011 15:02:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL/m-p/68220#M19535</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-02-02T15:02:25Z</dc:date>
    </item>
  </channel>
</rss>

