<?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 to deal with proc append and primary key in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156891#M41136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By any chance is the Primary Key field in Access and automatic increment and the SAS data set you are appending have values for that field? You might be getting a collision of some sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 15:03:04 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-09-24T15:03:04Z</dc:date>
    <item>
      <title>How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156886#M41131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ive a &lt;/P&gt;&lt;P&gt;proc append&amp;nbsp; base= myaccdb.table data=work.report4 force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;i need to. Know how I can bypass the primary key that is in access when the primary key is removed it appends but I need the primary key to be there&amp;nbsp; to prevent duplicates..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 21:42:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156886#M41131</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2014-09-23T21:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156887#M41132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to provide a few more details about what you mean by "bypass primary key".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 21:59:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156887#M41132</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-09-23T21:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156888#M41133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the proc append works great where it's appending data to the access table when the access table doesn't have a primary key. When I add the primary key to the access table and than run the proc append it fails I get and error message it can't insert data ... Im using force in the proc append but it doesn't append if there is a primary key...thanks again for your assistance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 01:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156888#M41133</guid>
      <dc:creator>BETO</dc:creator>
      <dc:date>2014-09-24T01:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156889#M41134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Supplying the log would help. The cause of the error is usually written there.&lt;/P&gt;&lt;P&gt;But from the information that you give, I suppose that you are violating the PK during insert?&lt;/P&gt;&lt;P&gt;If so, you need to take action, primarily by fixing your data before the insert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 07:17:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156889#M41134</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-09-24T07:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156890#M41135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make a audit trace for Prime Key .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156890#M41135</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-09-24T12:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to deal with proc append and primary key</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156891#M41136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By any chance is the Primary Key field in Access and automatic increment and the SAS data set you are appending have values for that field? You might be getting a collision of some sort.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 15:03:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-deal-with-proc-append-and-primary-key/m-p/156891#M41136</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-09-24T15:03:04Z</dc:date>
    </item>
  </channel>
</rss>

