<?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: arcpy.Append_management: ERROR 000187: Only supports Geodatabase tables and feature classes in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100547#M7802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue using&amp;nbsp;the arcpy.Truncate_management tool in ArcGIS 10.6.1. When I wrote out the full path to my feature classes on my SDE database, the tool worked in Python:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r"C:\Users\mmolter\AppData\Roaming\ESRI\Desktop10.6\ArcCatalog\DatabaseName\Feature Class name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before, I referenced the feature class like this but Python didn't like it. Even though it worked in ModelBuilder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Database Connections\\DatabaseName\Feature Class name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2019 23:25:52 GMT</pubDate>
    <dc:creator>MollyWatson1</dc:creator>
    <dc:date>2019-03-01T23:25:52Z</dc:date>
    <item>
      <title>arcpy.Append_management: ERROR 000187: Only supports Geodatabase tables and feature classes</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100545#M7800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the following error message when running in Python an append -&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;arcpy.Append_management&lt;/SPAN&gt;-&amp;nbsp;between a table in SDE and a table from a SQL database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This append&amp;nbsp; works fine in Model Builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Process: Truncate Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;arcpy.TruncateTable_management(sde_Table)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;# Process: Append&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 8pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: medium;"&gt;arcpy.Append_management("'Database Connections\\Consumption Production.sde\\Consumption.SQLDatabaseTable'", sde_Table__2_, "NO_TEST", "PREMID \"PREM_ID\" true true false 10 Text 0 0 ,First,#,Database Connections\\Consumption Production.sde\\Consumption.SQLDatabaseTable,PREMID,-1,-1;TOTALGALSEW \"TOTAL_GALLONS_WATER\" true true false 8 Double 2 18 ,First,#,Database Connections\\Consumption Production.sde\\Consumption.SQLDatabaseTable,TotalGallonsWater,-1,-1;GPD \"GALLON_PER_DAY\" true true false 8 Double 2 18 ,First,#,Database Connections\\Consumption Production.sde\\Consumption.SQLDatabaseTable,GPD,-1,-1", "")&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 18:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100545#M7800</guid>
      <dc:creator>JoseSanchez</dc:creator>
      <dc:date>2018-10-24T18:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management: ERROR 000187: Only supports Geodatabase tables and feature classes</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100546#M7801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error 000187: Only supports Geodatabase tables and feature classes Failed to execute is somewhat a vague error and can be thrown for a few reasons:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you script &lt;SPAN&gt;point a &lt;/SPAN&gt;path that doesn't even exist this error will occur.&lt;/LI&gt;&lt;LI&gt;If you script to point a path that does exist and to a table or feature class, but you don't have permissions to that folder this error will occur.&lt;/LI&gt;&lt;LI&gt;If you script to point a path that does exist and to a table or feature class, but you can't make a connection this error will occur.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing I would try is changing the EZ path to full file path, that's where I would start in all of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case &lt;EM&gt;Database Connections\\Consumption Production.sde\\Consumption.SQLDatabaseTable&lt;/EM&gt; to&amp;nbsp;&lt;EM&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\ESRI\Desktop10.x\ArcCatalog\&amp;lt;databasename&amp;gt;.sde&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set the database full path as the&amp;nbsp;environment settings using arcpy.env.workspace = &amp;lt;database file pth&amp;gt; then reference the table&amp;nbsp;or use the file path&amp;nbsp;&lt;EM&gt;C:\Users\&amp;lt;username&amp;gt;\AppData\Roaming\ESRI\Desktop10.x\ArcCatalog\&amp;lt;databasename&amp;gt;.sde\&amp;lt;table&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know if this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:09:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100546#M7801</guid>
      <dc:creator>JakeSimms1</dc:creator>
      <dc:date>2018-11-02T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy.Append_management: ERROR 000187: Only supports Geodatabase tables and feature classes</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100547#M7802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue using&amp;nbsp;the arcpy.Truncate_management tool in ArcGIS 10.6.1. When I wrote out the full path to my feature classes on my SDE database, the tool worked in Python:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r"C:\Users\mmolter\AppData\Roaming\ESRI\Desktop10.6\ArcCatalog\DatabaseName\Feature Class name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before, I referenced the feature class like this but Python didn't like it. Even though it worked in ModelBuilder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Database Connections\\DatabaseName\Feature Class name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 23:25:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-append-management-error-000187-only-supports/m-p/100547#M7802</guid>
      <dc:creator>MollyWatson1</dc:creator>
      <dc:date>2019-03-01T23:25:52Z</dc:date>
    </item>
  </channel>
</rss>

