<?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: Edit SQLite data outside ArcGIS Pro in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044211#M39338</link>
    <description>&lt;P&gt;Thanks for your reply Robert.&lt;/P&gt;&lt;P&gt;The way ESRI is pushing SQLite as the go to solution for replacing the personal database I would have thought they'd have worked this out. As it stands now I see little reason to actually use SQLite for storing GIS data. It's just as locked in to the ESRI way of seeing the universe as the FileGeodatabase, i.e. unusable from outside ArcGIS.&lt;/P&gt;&lt;P&gt;I sure hope I'm missing something here because the way it is now the only way one can work with attributes is by purchasing more ESRI software.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 16:34:28 GMT</pubDate>
    <dc:creator>MitchKrupp2</dc:creator>
    <dc:date>2021-04-06T16:34:28Z</dc:date>
    <item>
      <title>Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044037#M39309</link>
      <description>&lt;P&gt;I've created an SQLite geodatabase in ArcGIS Pro (2.7), added a text field for an attribute and then created a few polygons and filled in the attribute as a test. Works great.&lt;/P&gt;&lt;P&gt;I've been unable to edit those text attributes outside of ArcGIS Pro. I've tried using DB Browser for SQLite and I've tried linking to external data from within MS Access. ArcGIS Pro is closed when I've tried this.&lt;/P&gt;&lt;P&gt;The error message in DB Browser is "Error changing data: no such function: UpdateIndexEntry".&lt;/P&gt;&lt;P&gt;Does anyone know if SQLite attributes can be edited outside of ArcGIS Pro?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 00:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044037#M39309</guid>
      <dc:creator>MitchKrupp2</dc:creator>
      <dc:date>2021-04-06T00:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044055#M39313</link>
      <description>&lt;P&gt;You &lt;EM&gt;should&lt;/EM&gt; be able to edit SQLite outside of Pro. However, the compatibility between Pro and SQLite, SpatiaLite, and GeoPackage databases still seems a bit lacking to me. I've found that when such databases are created in Pro, they run into the same issues you're experiencing.&lt;/P&gt;&lt;P&gt;Use some &lt;EM&gt;other&lt;/EM&gt; software to create the database first. There are a number of ways you might do it, but the &lt;A href="https://www.geopackage.org/implementations.html" target="_self"&gt;GeoPackage Implementations page&lt;/A&gt; is a good start. (I know it's for GeoPackage, but GeoPackage kind of &lt;EM&gt;is &lt;/EM&gt;SQLite, and many of the entries in this list support both.)&lt;/P&gt;&lt;P&gt;If you use an existing DB and simply interact with it in Pro, odds are you'll run into fewer issues.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 02:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044055#M39313</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-06T02:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044180#M39330</link>
      <description>&lt;P&gt;Outside of the Esri application world, I found a 12/18/2020 &lt;A href="https://mostlysubjective.com/2020/12/18/look-ma-i-made-a-mobile-geodatabase/" target="_self"&gt;article&lt;/A&gt; about mobile geodatabases and SQLite and the message "no such function: UpdateIndexEntry" message.&amp;nbsp; In the comments, the author mentions that he believes drivers need to be constructed with access to the functions that manage the indexes.&lt;BR /&gt;&lt;BR /&gt;Related I created a &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/look-at-mobile-geodatabases-go-whats-new-in-pro-2-7/" target="_self"&gt;Mobile Geodatabase&lt;/A&gt; in ArcGIS Pro that uses SQLite, copy/pasted data into the geodatabase, added a field, calculated a field, etc. - works well in ArcGIS Pro.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 15:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044180#M39330</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-04-06T15:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044206#M39335</link>
      <description>&lt;P&gt;Thanks for your reply Josh. I tried your advice, created the database outside ArcGIS Pro and spatially enabled it. Then added a few polygons in Pro, added some text attributes, saved and quit. Still the same errors if I try to edit the attributes outside Pro.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044206#M39335</guid>
      <dc:creator>MitchKrupp2</dc:creator>
      <dc:date>2021-04-06T16:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044211#M39338</link>
      <description>&lt;P&gt;Thanks for your reply Robert.&lt;/P&gt;&lt;P&gt;The way ESRI is pushing SQLite as the go to solution for replacing the personal database I would have thought they'd have worked this out. As it stands now I see little reason to actually use SQLite for storing GIS data. It's just as locked in to the ESRI way of seeing the universe as the FileGeodatabase, i.e. unusable from outside ArcGIS.&lt;/P&gt;&lt;P&gt;I sure hope I'm missing something here because the way it is now the only way one can work with attributes is by purchasing more ESRI software.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044211#M39338</guid>
      <dc:creator>MitchKrupp2</dc:creator>
      <dc:date>2021-04-06T16:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044220#M39339</link>
      <description>&lt;P&gt;You're welcome Mitch - as a caveat to my reply - I work for Esri Training Services as a Senior Instructor and have zero pull on any ArcGIS Pro development nor know the decision making of what is or what is not supported.&amp;nbsp; With that said...&lt;BR /&gt;&lt;BR /&gt;1.&amp;nbsp; It is possible to connect to &lt;A href="https://support.esri.com/en/technical-article/000024144" target="_self"&gt;Microsoft Access databases in ArcGIS Pro&lt;/A&gt; using an OLEDB connection.&amp;nbsp; This was introduced in ArcGIS Pro. 2.6.&lt;BR /&gt;2.&amp;nbsp; Outside of the Esri domain (maybe) but guessing if a driver update for SQLite databases and indexes is created, then "maybe" one can edit them outside of Esri software.&amp;nbsp; But that's outside of my wheelhouse/expertise.&lt;BR /&gt;3.&amp;nbsp; There is a File Geodatabase API located &lt;A href="https://github.com/Esri/file-geodatabase-api" target="_self"&gt;here&lt;/A&gt; for developers but probably is not what you're looking to do based upon your question.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 16:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044220#M39339</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2021-04-06T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044223#M39340</link>
      <description>&lt;P&gt;UpdateIndexEntry is a custom function written by Esri and implemented within some DLL, I can't say which one because they don't say.&amp;nbsp; When a geodatabase model is created in SQLite, certain triggers are created on tables to maintain integrity and make the geodatabase model function.&amp;nbsp; In this case, there is a trigger that is being executed when you try to update the field, and when updating outside of ArcGIS applications, the UpdateIndexEntry function isn't available.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 17:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044223#M39340</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-04-06T17:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044241#M39344</link>
      <description>&lt;P&gt;Hm. That's very odd, that Pro is altering the database when you use it. I have a few SQLite databases that I keep around for testing purposes. They were initially created in QGIS, but they work just fine between Pro and other programs. But then, perhaps Q is applying different functions than Pro does.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 17:32:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044241#M39344</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-06T17:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044242#M39345</link>
      <description>&lt;P&gt;Thanks for the info Joshua. I use SQLite for other things, but for ArcGIS looks like I'll be putting it back on the shelf.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 17:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1044242#M39345</guid>
      <dc:creator>MitchKrupp2</dc:creator>
      <dc:date>2021-04-06T17:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081100#M43543</link>
      <description>&lt;P&gt;Thanks for the valuable information in this thread. Super important disclaimers noted here that ESRI should be making public to potential users of SQLite made from Pro.&lt;BR /&gt;&lt;BR /&gt;I've been stuck trying to make a simple update query work (like was totally possible with MS Access) in a Mobile Geodatabase and getting the "no such function: UpdateIndexEntry" error.&amp;nbsp; Spent the last day trying to troubleshoot my machine b/c the query functions perfectly fine in SQL Fiddle and DB Fiddle using test data via SQLite but was erroring out locally in DB Browser and DBeaver.&lt;BR /&gt;&lt;BR /&gt;If we can't update attribute data in SQLite it's a show stopper limitation for the work I need to be doing with attribute tables on feature classes - updating hundreds of thousands of attributes manually not an option, nor is field calculator due to the slowness of Python [SQL not available for SQLite in Field Calculator]. Updatecursors cumbersome, again because of the Python translation that's needed to work with DBs to undertake the kind of work that we need done. SQL native is simplest, fastest, and best approach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 22:08:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081100#M43543</guid>
      <dc:creator>ErikLash1</dc:creator>
      <dc:date>2021-07-20T22:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081724#M43609</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/426604"&gt;@MitchKrupp2&lt;/a&gt;, as a follow-up to my earlier response, it turns out starting with ArcGIS Pro 2.8 that Esri is officially saying which DLL contains the functions you need, and they describe how to get it and use it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-mobile-gdb/enable-stgeometry-extension-for-sql.htm" target="_blank"&gt;Load ST_Geometry to a mobile geodatabase for SQL access—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 13:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081724#M43609</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-07-22T13:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081877#M43630</link>
      <description>&lt;P&gt;Thanks for the replies. Using the DLL solution looks promising. Will try it out.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In my case it's not a spatial function thats needed though. It's a non-spatial table edit that's not working.&lt;BR /&gt;&lt;BR /&gt;We bang the entire dataset up against a 3'rd party API which returns a new data table containing the results of the bangup. We then import that table using ESRI tools into a database.&lt;BR /&gt;&lt;BR /&gt;Update query later performed to add certain values from the returned table to certain rows in the spatial table based upon a non-spatial table join and a where clause.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;SQL logic works fine if we take the extra step of moving the data from the mobile geodatabase to an enterprise geodatabase and then moving it back. Extra steps using extra tools as a workaround to functionality that should already be available in SQLite and is available in the non-ESRI SQlite.&lt;BR /&gt;&lt;BR /&gt;Alternatively, using ESRI tools to create a permanent table join, perform table update in python, delete extra fields works. Again extra steps when SQLite can handle the entire process with 2 lines of SQL code already. And magnitudes of time slower in performance than acting directly on the database through SQL.&lt;BR /&gt;&lt;BR /&gt;The SQL is fairly basic, summarized in this example:&lt;BR /&gt;&lt;BR /&gt;UPDATE table1&lt;BR /&gt;SET columnX = (SELECT columnY FROM table2 WHERE table1.column1 = table2.column1);&lt;BR /&gt;&lt;BR /&gt;As a precursor to this we run an unmatched query using a left out join to determine what data gets sent to the API for return with new field data for update/integration into the SQLite DB.&lt;BR /&gt;&lt;BR /&gt;Ideal solution would be one where scheduling or manually running a single SQL script to run on the database would handle the weekly data update.&lt;BR /&gt;&lt;BR /&gt;This kind of functionality is also something we are hoping someday extends to file geodatabases as well.&lt;BR /&gt;&lt;BR /&gt;Support requirement is for offline users who are often working with no internet connection.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 18:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1081877#M43630</guid>
      <dc:creator>ErikLash1</dc:creator>
      <dc:date>2021-07-22T18:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1082205#M43667</link>
      <description>&lt;P&gt;Features classes in mobile geodatabases have additional triggers to update spatial indexes after edits are made.&amp;nbsp; The triggers execute anytime updates are made to the feature classes, regardless of whether the spatial data is modified.&amp;nbsp; So, editing non-spatial data in a feature class will cause the trigger to execute, which will throw an error if the DLL containing the function the trigger is using isn't registered.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 15:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1082205#M43667</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-07-23T15:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit SQLite data outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1152760#M52655</link>
      <description>&lt;P&gt;My answer to this involves taking off the ESRI GIS hat and putting on a database design hat.&amp;nbsp; A trigger is just a SQL statement.&amp;nbsp; Triggers can be dropped and recreated with just two commands.&amp;nbsp; In looking at the table, there are two Update triggers, ones that fires when the shape is updated, one that fires on any update. Both update the spatial index.&amp;nbsp; My solution is to drop the trigger that fires on any update.&amp;nbsp; It is not necessary since there is a trigger for a Shape update.&amp;nbsp; IMHO the spatial index does not need to be updated when a non spatial attribute changes.&amp;nbsp;&lt;BR /&gt;If you are really concerned, the any update trigger can be created again.&amp;nbsp; Just make sure to copy of the DDL SQL statement before doing the trigger delete.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 22:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/edit-sqlite-data-outside-arcgis-pro/m-p/1152760#M52655</guid>
      <dc:creator>DavidAnderson_1701</dc:creator>
      <dc:date>2022-03-10T22:22:53Z</dc:date>
    </item>
  </channel>
</rss>

