<?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: How can I update columns in the SQL Server table that have foreign keys? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340136#M10087</link>
    <description>&lt;P&gt;Foreign keys are defined in a database to maintain referential integrity between tables. If you are getting such errors then it probably means the FK-referenced table needs to have the new data value added to it before you update&amp;nbsp;your primary table. Talk to your DBA to understand what is going on, and what order you need to update tables in.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Mar 2017 00:09:10 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2017-03-11T00:09:10Z</dc:date>
    <item>
      <title>How can I update columns in the SQL Server table that have foreign keys?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340003#M10084</link>
      <description>&lt;P&gt;I have a follow up question based this thread: &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/SQL-Server-pass-through-merge-update-insert/td-p/336321" target="_blank"&gt;https://communities.sas.com/t5/SAS-Data-Management/SQL-Server-pass-through-merge-update-insert/td-p/336321&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I update columns in the SQL Server table that have foreign keys? It errors whenever I attempt to do so without a specific fix, probably because it in the pass through section. Is there specific syntax to use on foreign keys?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 20:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340003#M10084</guid>
      <dc:creator>SASHuntsville</dc:creator>
      <dc:date>2017-03-10T20:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I update columns in the SQL Server table that have foreign keys?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340122#M10085</link>
      <description>Not sure what you ate getting at. Pass through means that you are operating entirely in the external database,  do this should not be a SAS question imo.&lt;BR /&gt;What do you mean by a specific fix?&lt;BR /&gt;FK is a standard DB concept, and how to update data structures using those is described in numerous DB publications.</description>
      <pubDate>Fri, 10 Mar 2017 22:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340122#M10085</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-03-10T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I update columns in the SQL Server table that have foreign keys?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340136#M10087</link>
      <description>&lt;P&gt;Foreign keys are defined in a database to maintain referential integrity between tables. If you are getting such errors then it probably means the FK-referenced table needs to have the new data value added to it before you update&amp;nbsp;your primary table. Talk to your DBA to understand what is going on, and what order you need to update tables in.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2017 00:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-can-I-update-columns-in-the-SQL-Server-table-that-have/m-p/340136#M10087</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-03-11T00:09:10Z</dc:date>
    </item>
  </channel>
</rss>

