<?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: NEED to Change below code in to sql in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172071#M44376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you are asking for SQL Server guidance, that is better searched for elsewhere.&lt;/P&gt;&lt;P&gt;Second, those are macro calls. You need to find and look into those macro definition to see what they mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you are migrating a SAS application to SQL Server, so perhaps the SAS community might have mixed feelings about helping you out... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Feb 2014 20:06:36 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2014-02-12T20:06:36Z</dc:date>
    <item>
      <title>NEED to Change below code in to sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172068#M44373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;%prvadit(2); %prvadit(3); %prvadit(4); %prvadit(5); %prvadit(9);&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table prvadr as&lt;/P&gt;&lt;P&gt;&amp;nbsp; select prpr_id, prad_state, prad_zip, min(datepart(prad_eff_dt)) as effdt, &lt;/P&gt;&lt;P&gt;&amp;nbsp; max(datepart(prad_term_dt)) as trmdt&lt;/P&gt;&lt;P&gt;&amp;nbsp; from prvadr2&lt;/P&gt;&lt;P&gt;&amp;nbsp; group by prpr_id, prad_state, prad_zip;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 17:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172068#M44373</guid>
      <dc:creator>Raj_SasUser</dc:creator>
      <dc:date>2014-02-12T17:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: NEED to Change below code in to sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172069#M44374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is SQL....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 17:49:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172069#M44374</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-12T17:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: NEED to Change below code in to sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172070#M44375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need to change above code to Microsoft SQl code i am not understanding few lines here &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does mean ; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;%prvadit(2); %prvadit(3); %prvadit(4); %prvadit(5); %prvadit(9);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and what is &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 19:43:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172070#M44375</guid>
      <dc:creator>Raj_SasUser</dc:creator>
      <dc:date>2014-02-12T19:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: NEED to Change below code in to sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172071#M44376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you are asking for SQL Server guidance, that is better searched for elsewhere.&lt;/P&gt;&lt;P&gt;Second, those are macro calls. You need to find and look into those macro definition to see what they mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds like you are migrating a SAS application to SQL Server, so perhaps the SAS community might have mixed feelings about helping you out... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 20:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172071#M44376</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-02-12T20:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: NEED to Change below code in to sql</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172072#M44377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I only do when it's for free, if I'm being paid then it's fine &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Hire a SAS/SQL consultant to do the work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm pretty sure someone else will answer the question as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 20:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/NEED-to-Change-below-code-in-to-sql/m-p/172072#M44377</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-02-12T20:15:14Z</dc:date>
    </item>
  </channel>
</rss>

