<?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: Missing Value in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334175#M22216</link>
    <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to include those Null value, but when i set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ColA&amp;nbsp; ColB from table where ColA!=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then the result exclude all null value, in case i want it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Feb 2017 10:12:41 GMT</pubDate>
    <dc:creator>SASNE</dc:creator>
    <dc:date>2017-02-19T10:12:41Z</dc:date>
    <item>
      <title>Missing Value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334099#M22214</link>
      <description>&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i connect to Database server like Oracle, i know that it treats Null value differently from SAS, Do you think it fixs the problem if i assign every variable (which is in where clause) is&amp;nbsp; missing&amp;nbsp; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13464iD484790EE5F6EAC9/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Missing.PNG" title="Missing.PNG" /&gt;</description>
      <pubDate>Sat, 18 Feb 2017 16:55:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334099#M22214</guid>
      <dc:creator>SASNE</dc:creator>
      <dc:date>2017-02-18T16:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334130#M22215</link>
      <description>It depends on what the problem is that you have, what is your desired outcome?&lt;BR /&gt;If you set:&lt;BR /&gt;Options sastrace = ',,,d' sastraceloc = saslog nostsuffix; &lt;BR /&gt;You can see what Oracle is doing with your query.</description>
      <pubDate>Sat, 18 Feb 2017 21:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334130#M22215</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-02-18T21:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334175#M22216</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to include those Null value, but when i set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select ColA&amp;nbsp; ColB from table where ColA!=1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then the result exclude all null value, in case i want it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 10:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334175#M22216</guid>
      <dc:creator>SASNE</dc:creator>
      <dc:date>2017-02-19T10:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Missing Value</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334183#M22218</link>
      <description>&lt;P&gt;Unlike SAS most database system will use a tri-level logic with respect to missing values. &amp;nbsp;In SAS a boolean test is either true or false. In DBMS the result can be unknown or null which is treated as neither true nor false.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example in SAS a numeric missing value is less than any actual number and you can test for equality between missing values. &amp;nbsp;So missing values would be included in tests like these:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;age &amp;lt; 10
age ne 10
age = baseline_age&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But in most DBMS you need to explicitely include the NULL values in your testing.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;age &amp;lt; 10 or age is null
age ne 10 or age is null
age = baseline_age or (age is null and baseline_age is null)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Feb 2017 15:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Missing-Value/m-p/334183#M22218</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-19T15:27:57Z</dc:date>
    </item>
  </channel>
</rss>

