<?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: Excluding a foreign key in SAS DIS in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427107#M13160</link>
    <description>&lt;P&gt;You are updating the metadata information when you are&amp;nbsp;&lt;SPAN&gt;Going to the properties of the table and excluding it from the tab keys&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But physical table still has that properties.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; I would suggest to make change in your physical dataset and then update table metadata.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2018 05:33:48 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2018-01-12T05:33:48Z</dc:date>
    <item>
      <title>Excluding a foreign key in SAS DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427001#M13151</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Supposing we have a table A which has a field/column as foreign key but we don't need it anymore, what is the best practice to delete this field as foreign key in SAS DIS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Going to the properties of the table and excluding it from the tab keys doesn't seem to be enough. Running the proc contents of the table B which has this field as primary key we still see the reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May15&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 20:34:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427001#M13151</guid>
      <dc:creator>May15</dc:creator>
      <dc:date>2018-01-11T20:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a foreign key in SAS DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427107#M13160</link>
      <description>&lt;P&gt;You are updating the metadata information when you are&amp;nbsp;&lt;SPAN&gt;Going to the properties of the table and excluding it from the tab keys&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But physical table still has that properties.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; I would suggest to make change in your physical dataset and then update table metadata.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2018 05:33:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427107#M13160</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2018-01-12T05:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a foreign key in SAS DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427635#M13181</link>
      <description>&lt;P&gt;Hi RahulG,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would you make change in physical data set?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May15&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427635#M13181</guid>
      <dc:creator>May15</dc:creator>
      <dc:date>2018-01-15T10:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a foreign key in SAS DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427637#M13183</link>
      <description>PROC DATASETS.</description>
      <pubDate>Mon, 15 Jan 2018 10:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427637#M13183</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-15T10:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a foreign key in SAS DIS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427685#M13187</link>
      <description>&lt;P&gt;Hi LinusH,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I actually can't see anymore the foreign key in what I called table A.&lt;/P&gt;&lt;P&gt;The issue is that in table B, which has the primary key that is referred to the foreign key, I still see the referential constraint. How can I remove it without dropping and recreating the table B?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output_2.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17859iD568ED9BCB5D9EF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Output_2.PNG" alt="Output_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 13:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Excluding-a-foreign-key-in-SAS-DIS/m-p/427685#M13187</guid>
      <dc:creator>May15</dc:creator>
      <dc:date>2018-01-15T13:52:56Z</dc:date>
    </item>
  </channel>
</rss>

