<?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 primary/foreign key in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/primary-foreign-key/m-p/485366#M126096</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Whether it is possible to write down the request for creation of a temporary table with instructions of external and internal key&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;% macro test;


 data(keep one two three);


length one $50 two $50 three 8;


%mend test;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to specify that one is the primary key. &lt;SPAN&gt;Can this be done?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Aug 2018 08:17:50 GMT</pubDate>
    <dc:creator>Liliya95</dc:creator>
    <dc:date>2018-08-09T08:17:50Z</dc:date>
    <item>
      <title>primary/foreign key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/primary-foreign-key/m-p/485366#M126096</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Whether it is possible to write down the request for creation of a temporary table with instructions of external and internal key&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;for example,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;% macro test;


 data(keep one two three);


length one $50 two $50 three 8;


%mend test;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I need to specify that one is the primary key. &lt;SPAN&gt;Can this be done?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/primary-foreign-key/m-p/485366#M126096</guid>
      <dc:creator>Liliya95</dc:creator>
      <dc:date>2018-08-09T08:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: primary/foreign key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/primary-foreign-key/m-p/485375#M126102</link>
      <description>&lt;P&gt;Primary keys come from the database world, they are not a SAS thing.&amp;nbsp; Two different technologies!&amp;nbsp; You can fake it with:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Primary-key/td-p/456421" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Primary-key/td-p/456421&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/76464"&gt;@s_lassen&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However why?&amp;nbsp; Start thinking SAS if your going to use SAS, its different technology to databases.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 08:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/primary-foreign-key/m-p/485375#M126102</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-09T08:45:40Z</dc:date>
    </item>
  </channel>
</rss>

