<?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: ArcSDESQLExecute Commit with after &amp;quot;ALTER TABLE&amp;quot; locks in database in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/arcsdesqlexecute-commit-with-after-quot-alter/m-p/862619#M5790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What transaction are you committing?&amp;nbsp; CREATE TABLE is not logged, nor is ALTER TABLE.&amp;nbsp; Both must occur outside a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you are using the transaction environment incorrectly.&amp;nbsp; Please add the relevant pieces of your script to the question, so we have a chance to figure out what is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2018 13:28:15 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2018-06-22T13:28:15Z</dc:date>
    <item>
      <title>ArcSDESQLExecute Commit with after "ALTER TABLE" locks in database</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsdesqlexecute-commit-with-after-quot-alter/m-p/862618#M5789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am converting a table from SQL Server ArcSDE Enable to PostgreSQL. I have PostgreSQL and SQL Server installed on same one server machine. I am exporting a table from SQL Server to PostgreSQL using ArcPy, and then after exporting that table into PostgreSQL, i am running an ALTER TABLE &amp;nbsp; command on the table and then committing the connection using ArcSDESQLExecute Commit. Commit does not give any response, as it create a locks on the database and then that lock is not released. This is causing my script to be stuck there for a long time, and nothing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using ArcGIS 10.2 with SQL Server 12.&amp;nbsp; Operating system is Windows Server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the same script is working perfect on a machine that has, CentOS Docker based ArcSDE SQL Server, and Docker based PostgresSQL, and ArcMap 10.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What issue would be causing problem of creating lock on the PostgreSQL database while committing a transaction.&lt;/P&gt;&lt;P&gt;This is a Script that is built using ArcPy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 10:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsdesqlexecute-commit-with-after-quot-alter/m-p/862618#M5789</guid>
      <dc:creator>AhsanMukhtar1</dc:creator>
      <dc:date>2018-06-22T10:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: ArcSDESQLExecute Commit with after "ALTER TABLE" locks in database</title>
      <link>https://community.esri.com/t5/geodatabase-questions/arcsdesqlexecute-commit-with-after-quot-alter/m-p/862619#M5790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What transaction are you committing?&amp;nbsp; CREATE TABLE is not logged, nor is ALTER TABLE.&amp;nbsp; Both must occur outside a transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you are using the transaction environment incorrectly.&amp;nbsp; Please add the relevant pieces of your script to the question, so we have a chance to figure out what is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 13:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/arcsdesqlexecute-commit-with-after-quot-alter/m-p/862619#M5790</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-06-22T13:28:15Z</dc:date>
    </item>
  </channel>
</rss>

