<?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 Can we run the python script to update statistics as standalone program ? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660288#M4492</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this forum. My first question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we run the python script to update statistics as standalone program without ArcGIS Pro desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESRI provides a python script to update statistics in geodatabases:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt 0.5in;"&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/update-statistics.htm"&gt;&lt;SPAN style="color: #0563c1; text-decoration: underline; font-size: medium; font-family: Calibri;"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/update-statistics.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We like to run this script on a single computer for all users and also geodatabases admin automatically every day at not-busy time. This script uses ArcPy python library, I just like to know if ArcGIS pro desktop has to be installed on this computer or we can run&amp;nbsp; this python script with ArcPy standalone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Dec 2018 20:01:45 GMT</pubDate>
    <dc:creator>RaymondCao</dc:creator>
    <dc:date>2018-12-04T20:01:45Z</dc:date>
    <item>
      <title>Can we run the python script to update statistics as standalone program ?</title>
      <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660288#M4492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this forum. My first question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we run the python script to update statistics as standalone program without ArcGIS Pro desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is our situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESRI provides a python script to update statistics in geodatabases:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt 0.5in;"&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/update-statistics.htm"&gt;&lt;SPAN style="color: #0563c1; text-decoration: underline; font-size: medium; font-family: Calibri;"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/manage-sql-server/update-statistics.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We like to run this script on a single computer for all users and also geodatabases admin automatically every day at not-busy time. This script uses ArcPy python library, I just like to know if ArcGIS pro desktop has to be installed on this computer or we can run&amp;nbsp; this python script with ArcPy standalone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 20:01:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660288#M4492</guid>
      <dc:creator>RaymondCao</dc:creator>
      <dc:date>2018-12-04T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run the python script to update statistics as standalone program ?</title>
      <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660289#M4493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The key phrase is &lt;STRONG&gt;'scheduled task'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm"&gt;Python in ArcGIS Pro—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is a small example in the link&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 20:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660289#M4493</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-04T20:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run the python script to update statistics as standalone program ?</title>
      <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660290#M4494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the fast comment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I read the script example in the link. The script uses ArcPY. Do I have to install ArcGIS Pro desktop on the computer before I can run the python script with ArcPy or I can run it without installing ArcGIS Pro desktop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 20:20:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660290#M4494</guid>
      <dc:creator>RaymondCao</dc:creator>
      <dc:date>2018-12-04T20:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run the python script to update statistics as standalone program ?</title>
      <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660291#M4495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your script uses anything rooted in ArcGIS pro … including arcpy... then yes. Otherwise it is just a general python question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 20:22:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660291#M4495</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-12-04T20:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can we run the python script to update statistics as standalone program ?</title>
      <link>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660292#M4496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My agency runs the full database compress, analyze, statistics every week for all of our enterprise geodatabases as a scheduled task.&amp;nbsp; The server on which the scripts execute has ArcGIS 10.5.1 installed and is licensed like any other user through our license server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have ArcGIS Pro installed on desktop computers only and are currently using it only as a desktop application, not for administration.&amp;nbsp;The key to running stand alone arcpy scripts is having arcpy (aka some flavor of ArcGIS)&amp;nbsp; installed on the computer executing the scripts. Remember, for database administration, you'll need database administration privileges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2018 20:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/can-we-run-the-python-script-to-update-statistics/m-p/660292#M4496</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-12-04T20:23:35Z</dc:date>
    </item>
  </channel>
</rss>

