<?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>idea Sample script to unregister database view with geodatabase in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/sample-script-to-unregister-database-view-with/idi-p/1569892</link>
    <description>&lt;P&gt;Making a SQL change to a registered database view (FGDB, mobile geodatabase, or EGDB) is an inefficient process. We don't have a GP or UI tool to unregister the view with the geodatabase, so instead we need to delete the existing view, recreate it, register it with the geodatabase, and then set up all the DB privileges again.&lt;/P&gt;&lt;P&gt;It would be great if Esri could provide a sample python script that would unregister the view with the geodatabase. (If Pro is capable of unregistering when deleting a view, then why can't it unregister &lt;U&gt;&lt;EM&gt;without&lt;/EM&gt;&lt;/U&gt; deleting the underlying DB view?)&lt;/P&gt;&lt;P&gt;I figure, if Esri was going to provide a GP tool to unregister views, they would have done it by now. So I'm not hopeful that tool will ever be created. As an alternative, I am wondering if it would be easier for the Python team to whip up a sample script.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 15:04:52 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-12-19T15:04:52Z</dc:date>
    <item>
      <title>Sample script to unregister database view with geodatabase</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/sample-script-to-unregister-database-view-with/idi-p/1569892</link>
      <description>&lt;P&gt;Making a SQL change to a registered database view (FGDB, mobile geodatabase, or EGDB) is an inefficient process. We don't have a GP or UI tool to unregister the view with the geodatabase, so instead we need to delete the existing view, recreate it, register it with the geodatabase, and then set up all the DB privileges again.&lt;/P&gt;&lt;P&gt;It would be great if Esri could provide a sample python script that would unregister the view with the geodatabase. (If Pro is capable of unregistering when deleting a view, then why can't it unregister &lt;U&gt;&lt;EM&gt;without&lt;/EM&gt;&lt;/U&gt; deleting the underlying DB view?)&lt;/P&gt;&lt;P&gt;I figure, if Esri was going to provide a GP tool to unregister views, they would have done it by now. So I'm not hopeful that tool will ever be created. As an alternative, I am wondering if it would be easier for the Python team to whip up a sample script.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 15:04:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/sample-script-to-unregister-database-view-with/idi-p/1569892</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-12-19T15:04:52Z</dc:date>
    </item>
  </channel>
</rss>

