<?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 Full table details not available when I am using the distinct statement. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Full-table-details-not-available-when-I-am-using-the-distinct/m-p/837805#M36188</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;My coding is running successfully. I have tried to get the confirmed email information and then I am looking for distinct email accounts. But when I see the distinct email account it is giving just the account number. I want the full table of distinct accounts just like in the first code (confirmed email). Can you please suggest what should I change in my code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table confirmed_email as&lt;BR /&gt;select a.*,&lt;BR /&gt;b.emailaddress,&lt;BR /&gt;b.confirmeddate&lt;BR /&gt;from work.Live_phone_numbers as a &lt;BR /&gt;inner join p2scflow.emailaddress as b on a.Account_number = b.debt_code&lt;BR /&gt;where b.confirmeddate is not missing;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table distinct_email_accounts as &lt;BR /&gt;select distinct &lt;BR /&gt;Account_number&lt;BR /&gt;from work.confirmed_email;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2022 09:40:15 GMT</pubDate>
    <dc:creator>Sandeep77</dc:creator>
    <dc:date>2022-10-11T09:40:15Z</dc:date>
    <item>
      <title>Full table details not available when I am using the distinct statement.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Full-table-details-not-available-when-I-am-using-the-distinct/m-p/837805#M36188</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;My coding is running successfully. I have tried to get the confirmed email information and then I am looking for distinct email accounts. But when I see the distinct email account it is giving just the account number. I want the full table of distinct accounts just like in the first code (confirmed email). Can you please suggest what should I change in my code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table confirmed_email as&lt;BR /&gt;select a.*,&lt;BR /&gt;b.emailaddress,&lt;BR /&gt;b.confirmeddate&lt;BR /&gt;from work.Live_phone_numbers as a &lt;BR /&gt;inner join p2scflow.emailaddress as b on a.Account_number = b.debt_code&lt;BR /&gt;where b.confirmeddate is not missing;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table distinct_email_accounts as &lt;BR /&gt;select distinct &lt;BR /&gt;Account_number&lt;BR /&gt;from work.confirmed_email;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 09:40:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Full-table-details-not-available-when-I-am-using-the-distinct/m-p/837805#M36188</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2022-10-11T09:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Full table details not available when I am using the distinct statement.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Full-table-details-not-available-when-I-am-using-the-distinct/m-p/837809#M36190</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391779"&gt;@Sandeep77&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;My coding is running successfully. I have tried to get the confirmed email information and then I am looking for distinct email accounts. But when I see the distinct email account it is giving just the account number. I want the full table of distinct accounts just like in the first code (confirmed email). Can you please suggest what should I change in my code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table distinct_email_accounts as &lt;BR /&gt;select distinct &lt;BR /&gt;Account_number&lt;BR /&gt;from work.confirmed_email;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You asked for only Account_number variable in data set distinct_email_accounts. If you want other variables in this data set, you have to put those variable names in the code after &lt;FONT face="courier new,courier"&gt;select distinct&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2022 10:34:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Full-table-details-not-available-when-I-am-using-the-distinct/m-p/837809#M36190</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-10-11T10:34:17Z</dc:date>
    </item>
  </channel>
</rss>

