<?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 proc sql in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579590#M164517</link>
    <description>&lt;P&gt;I am tring to use proc sql to select a set of data from a table.&lt;/P&gt;&lt;P&gt;I wish to do many combinations using where and or&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table test as select distinct * from have&lt;/P&gt;&lt;P&gt;where not((x="an" and y="at") or (x="be" and y="as") or (etc.: further combinations));&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't work with the or operator. Does it mean or doesn't work in proc sql or am I making&lt;/P&gt;&lt;P&gt;a mistake some where.&lt;/P&gt;&lt;P&gt;I will be grateful for any help&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2019 07:29:38 GMT</pubDate>
    <dc:creator>Anita_n</dc:creator>
    <dc:date>2019-08-07T07:29:38Z</dc:date>
    <item>
      <title>proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579590#M164517</link>
      <description>&lt;P&gt;I am tring to use proc sql to select a set of data from a table.&lt;/P&gt;&lt;P&gt;I wish to do many combinations using where and or&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;create table test as select distinct * from have&lt;/P&gt;&lt;P&gt;where not((x="an" and y="at") or (x="be" and y="as") or (etc.: further combinations));&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it doesn't work with the or operator. Does it mean or doesn't work in proc sql or am I making&lt;/P&gt;&lt;P&gt;a mistake some where.&lt;/P&gt;&lt;P&gt;I will be grateful for any help&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 07:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579590#M164517</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2019-08-07T07:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579601#M164523</link>
      <description>&lt;P&gt;Lat's suppose that condition&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;(x="an" and y="at")&lt;/SPAN&gt;&lt;/STRONG&gt; exists, then any other condition do not exist,&lt;/P&gt;
&lt;P&gt;therefore, while checking for&amp;nbsp;&lt;STRONG&gt;not(condition1 or condition2 ...)&amp;nbsp;&lt;/STRONG&gt;will always be &lt;STRONG&gt;false&amp;nbsp;&lt;/STRONG&gt;and where will never exist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&amp;nbsp;&lt;STRONG&gt;where not condition1 and not condition2 and not ...&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 08:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579601#M164523</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-08-07T08:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579630#M164544</link>
      <description>&lt;P&gt;Okay, thank you&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 11:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sql/m-p/579630#M164544</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2019-08-07T11:11:22Z</dc:date>
    </item>
  </channel>
</rss>

