<?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: Add Fields to a joined table in memory in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352924#M20203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You tried adding the fields prior to doing the join?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2019 02:59:04 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2019-06-19T02:59:04Z</dc:date>
    <item>
      <title>Add Fields to a joined table in memory</title>
      <link>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352923#M20202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a python script in which I create a couple of tables in memory, and then join them.&amp;nbsp; Then&amp;nbsp;joined table will then be joined to a polygon feature class (that join is in memory as well) and finally the joined layer with all the joined attributes gets appended to a polygon feature class on disc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is with the append: I've never been able to figure out field mapping in arcpy, and I'd prefer staying away from it. The polygon feature class on disc has&amp;nbsp;four fields that also exist in the two individual tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zipcode, month, year, clientCount, deliveryCount; client Count is in one table, deliveryCount the other. When I join them the field names change to tableName.fieldname:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1.zipcode&lt;/P&gt;&lt;P&gt;table2.zipcode&lt;/P&gt;&lt;P&gt;table1.month&lt;/P&gt;&lt;P&gt;table2.month&lt;/P&gt;&lt;P&gt;table1.year&lt;/P&gt;&lt;P&gt;table2.year&lt;/P&gt;&lt;P&gt;table1.clientCount&lt;/P&gt;&lt;P&gt;table2.deliveryCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to add additional fields to the joined table, (Zipcode, Month,Year,ClientCount,DeliveryCount) in hopes of making the subsequent append work smoothly, but when I try to add the fields I get an error saying it can't get an exclusive schema lock. Rats....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway to avoid field mapping at this point?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2019 22:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352923#M20202</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-18T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fields to a joined table in memory</title>
      <link>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352924#M20203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You tried adding the fields prior to doing the join?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 02:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352924#M20203</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-19T02:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fields to a joined table in memory</title>
      <link>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352925#M20204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The idea us to get the delivery count and client count into one table via the join. The two original tables are identical except for those respective fields. I think i may just copy the in memory joined table to disc in a scratch fgdb, add the fields and populate them, and then&amp;nbsp; join it to the polygons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 12:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352925#M20204</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-06-19T12:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add Fields to a joined table in memory</title>
      <link>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352926#M20205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this Pro or ArcMap?&amp;nbsp; If Pro, which in-memory workspace are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/add-fields-to-a-joined-table-in-memory/m-p/352926#M20205</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-06-19T14:44:38Z</dc:date>
    </item>
  </channel>
</rss>

