<?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 Expression using ng  equals has different data types in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867843#M342759</link>
    <description>Proc sql ;&lt;BR /&gt;create table CIR_TRV_BUREAU _&amp;amp;MISDATE._6 AS&lt;BR /&gt;SELECT A. *, B. PHASE1_2_ELIGIBLE&lt;BR /&gt;FROM ABC.CIR_TRV AS à&lt;BR /&gt;Left join(select distinct crn, 1 as phase1_2 eligible from abc. Bureau) as b on a. Crn_n=b.crn; quit;&lt;BR /&gt;Regina</description>
    <pubDate>Mon, 03 Apr 2023 19:33:25 GMT</pubDate>
    <dc:creator>Chandra6</dc:creator>
    <dc:date>2023-04-03T19:33:25Z</dc:date>
    <item>
      <title>Expression using ng  equals has different data types</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867843#M342759</link>
      <description>Proc sql ;&lt;BR /&gt;create table CIR_TRV_BUREAU _&amp;amp;MISDATE._6 AS&lt;BR /&gt;SELECT A. *, B. PHASE1_2_ELIGIBLE&lt;BR /&gt;FROM ABC.CIR_TRV AS à&lt;BR /&gt;Left join(select distinct crn, 1 as phase1_2 eligible from abc. Bureau) as b on a. Crn_n=b.crn; quit;&lt;BR /&gt;Regina</description>
      <pubDate>Mon, 03 Apr 2023 19:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867843#M342759</guid>
      <dc:creator>Chandra6</dc:creator>
      <dc:date>2023-04-03T19:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using ng  equals has different data types</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867849#M342761</link>
      <description>&lt;P&gt;Run proc contents on BOTH data sets and compare the variable type. In one the variable will be character in the other numeric.&lt;/P&gt;
&lt;P&gt;If Crn_n has the _n to indicate a numeric version then I might guess that Crn in B is character.&lt;/P&gt;
&lt;P&gt;Join on variables have to be the same type.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that your code as posted:&lt;/P&gt;
&lt;P&gt;FROM ABC.CIR_TRV AS à&lt;/P&gt;
&lt;P&gt;with the accent over the a is also likely to be invalid syntax.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441490"&gt;@Chandra6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Proc sql ;&lt;BR /&gt;create table CIR_TRV_BUREAU _&amp;amp;MISDATE._6 AS&lt;BR /&gt;SELECT A. *, B. PHASE1_2_ELIGIBLE&lt;BR /&gt;FROM ABC.CIR_TRV AS à&lt;BR /&gt;Left join(select distinct crn, 1 as phase1_2 eligible from abc. Bureau) as b on a. Crn_n=b.crn; quit;&lt;BR /&gt;Regina&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 19:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867849#M342761</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-04-03T19:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression using ng  equals has different data types</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867865#M342774</link>
      <description>&lt;P&gt;Show us the ENTIRE log for this PROC SQL, not just the error messages.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:54:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Expression-using-ng-equals-has-different-data-types/m-p/867865#M342774</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-04-03T20:54:14Z</dc:date>
    </item>
  </channel>
</rss>

