<?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 Defining a primary key on a table in PROC SQ in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Defining-a-primary-key-on-a-table-in-PROC-SQ/m-p/564075#M7619</link>
    <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I d&lt;SPAN&gt;efining a primary key on a table in PROC SQL?&amp;nbsp; Under "My Libraries" I choose a table's columns, all I see a property and value.&amp;nbsp; How can I defining the primary and/or foreign key of a table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Describe table table_name gives me nothing but columns' property and value.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried describe table constraints table_name and it said table_name does not have any integrity constraints to describe.&amp;nbsp; Which meant it doesn't have primary/foreign key, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jun 2019 13:11:26 GMT</pubDate>
    <dc:creator>pepevo</dc:creator>
    <dc:date>2019-06-06T13:11:26Z</dc:date>
    <item>
      <title>Defining a primary key on a table in PROC SQ</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Defining-a-primary-key-on-a-table-in-PROC-SQ/m-p/564075#M7619</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I d&lt;SPAN&gt;efining a primary key on a table in PROC SQL?&amp;nbsp; Under "My Libraries" I choose a table's columns, all I see a property and value.&amp;nbsp; How can I defining the primary and/or foreign key of a table.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Describe table table_name gives me nothing but columns' property and value.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried describe table constraints table_name and it said table_name does not have any integrity constraints to describe.&amp;nbsp; Which meant it doesn't have primary/foreign key, right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Defining-a-primary-key-on-a-table-in-PROC-SQ/m-p/564075#M7619</guid>
      <dc:creator>pepevo</dc:creator>
      <dc:date>2019-06-06T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Defining a primary key on a table in PROC SQ</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Defining-a-primary-key-on-a-table-in-PROC-SQ/m-p/564080#M7620</link>
      <description>&lt;P&gt;SAS is not a database system.&amp;nbsp; So you do not need to define primary or foreign keys.&lt;/P&gt;
&lt;P&gt;For clues as to what variables might be considered the unique identifiers for a dataset you could look at the SORTED BY attribute. Or see if any INDEXes have been created.&lt;/P&gt;
&lt;P&gt;Otherwise refer to any documentation that you have received along with the data.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Defining-a-primary-key-on-a-table-in-PROC-SQ/m-p/564080#M7620</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-06-06T13:22:56Z</dc:date>
    </item>
  </channel>
</rss>

