<?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: Is proc sql consider a space value NULL? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85465#M824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Windows Office Access (2007) uses a different convention when dealing with Empty and Null strings. In Access, TRUE is represented by -1.:&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture.PNG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2373_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the functions isEmpty and isMissing, although accepted in SQL expressions, are actually VBA functions that do not return anything useful in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Aug 2012 17:53:10 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2012-08-12T17:53:10Z</dc:date>
    <item>
      <title>Is proc sql consider a space value NULL?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85462#M821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if in sas proc sql, the space value (" ") is considered as a NULL value?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 19:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85462#M821</guid>
      <dc:creator>Nehcour0420</dc:creator>
      <dc:date>2012-08-06T19:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is proc sql consider a space value NULL?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85463#M822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Test it on your own system.&amp;nbsp; I think, at least on Windows, that it is unless you are using a pass thru in which case it would be cross-system dependent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 22:43:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85463#M822</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-08-06T22:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is proc sql consider a space value NULL?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85464#M823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the evaluation is performed by the native SAS implementation of SQL, a space is considered to be null/missing, and can be compared with other values. The host OS (Windows or Unix or whatever) does not matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the evaluation is done by a third-party DBMS (Oracle, MS Access, etc.),it's usually different, because comparisons involving nulls yield nulls. It should not matter whether the DBMS receives the query via pass-thru or libname engine.&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Nehcour0420 wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I am wondering if in sas proc sql, the space value (" ") is considered as a NULL value?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Eric&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Aug 2012 14:41:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85464#M823</guid>
      <dc:creator>Howles</dc:creator>
      <dc:date>2012-08-12T14:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is proc sql consider a space value NULL?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85465#M824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Windows Office Access (2007) uses a different convention when dealing with Empty and Null strings. In Access, TRUE is represented by -1.:&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture.PNG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/2373_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the functions isEmpty and isMissing, although accepted in SQL expressions, are actually VBA functions that do not return anything useful in SQL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Aug 2012 17:53:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Is-proc-sql-consider-a-space-value-NULL/m-p/85465#M824</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-08-12T17:53:10Z</dc:date>
    </item>
  </channel>
</rss>

