<?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: How to delete old feature classes from Oracle Geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519849#M29544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hence my suggestion of requesting your DBA to alter the password and not try yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 17:17:39 GMT</pubDate>
    <dc:creator>AsrujitSengupta</dc:creator>
    <dc:date>2014-09-22T17:17:39Z</dc:date>
    <item>
      <title>How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519846#M29541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some featureclasses in an sde database that were created by users no longer in the organization.&amp;nbsp; These have been determined as no longer useful.&amp;nbsp; The problem is only the creator of the data has select and insert/update/delete.&amp;nbsp; I am trying to use the sde account to delete the featureclass but it has insufficient privileges.&amp;nbsp; On feature classes I create, if I assign delete privilege to sde, sde can delete the feature class (other users granted delete can only delete rows!)&amp;nbsp;&amp;nbsp; However, I cannot grant myself (sde) privileges to delete these feature classes.&amp;nbsp;&amp;nbsp; I would like to pyScript this up help with data management so geoproc tools are nice.&amp;nbsp; Any one know how to delete the old stuff?&amp;nbsp; Do I need to use SQL and start messing with the SDE tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519846#M29541</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-22T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519847#M29542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use the data owner to delete those old data. So connect as that user to delete those data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you are unaware of the credentials, ask your DBA to alter the password for that user and then try to connect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 17:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519847#M29542</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-09-22T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519848#M29543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use OS authentication so I cannot log in as another user.&amp;nbsp; The passwords are not stored in the database.&amp;nbsp; It would also be a major policy violation to impersonate another user...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 17:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519848#M29543</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-22T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519849#M29544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hence my suggestion of requesting your DBA to alter the password and not try yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 17:17:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519849#M29544</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-09-22T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519850#M29545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The DBA has no control over passwords, the passwords are not stored in the database.&amp;nbsp; Passwords are maintained by the network administators and would not reactivate the accounts, change the passwords or let me login with their account under any circumstance.&amp;nbsp; They would sooner tear down the database and get me to rebuild it than do that.&amp;nbsp; I am looking for a way to avoid that.&amp;nbsp; If I have to rebuild the database every time someone leaves behind some featureclasses we are in for some serious problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 17:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519850#M29545</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-22T17:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519851#M29546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thats true and I can understand the scenario...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the reason, it is never recommended to load data using a particular OS Authenticated user.....to avoid these scenarios.....&lt;/P&gt;&lt;P&gt;You should always try using a separate db user as the data owner and then grant permissions to other users as required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 17:43:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519851#M29546</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2014-09-22T17:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519852#M29547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well users need to create their own feature classes from time to time.&amp;nbsp; We had all users logging in as the same user before but that is not very secure, and then any user can alter any other user's data.&amp;nbsp; All the main feature classes and tables are created/loaded with a database user/schema owner.&amp;nbsp; Our users work with many sessions of ArcMap at the same time and share workstations and mxds we don't want to prompt for a password every time the user starts a new session of ArcMap.&amp;nbsp; Moving to external authentication solves this.&amp;nbsp; New users come in, accounts are created, space allocated, roles assigned, bob's your uncle. &lt;/P&gt;&lt;P&gt;If OS authentication is not suitable for regular user of a database this would be very disappointing.&amp;nbsp;&amp;nbsp; We then have to rethink our entire architecture, including the technology we are using.&lt;/P&gt;&lt;P&gt;Back in the 9.3 days, the sde user could always delete stuff, I am not sure why but this changed at 10.0.&amp;nbsp; I need a management tool that will do this.&amp;nbsp; If not at the geodatabase level, it will have to be at the Oracle level.&amp;nbsp; Meaning going in and messing around with the SDE tables...&amp;nbsp; There has to be a way for a dba to manage the database, controlling the content of a database is a most basic feature, c'mon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 18:02:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519852#M29547</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-22T18:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519853#M29548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&amp;nbsp; The SDE-owned tables are not in any way related to this situation.&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; All you need is any user with dbo permissions.&amp;nbsp; The user can be OS authenticated, or DB -- it doesn't matter.&amp;nbsp; Your DBA can do this.&amp;nbsp; I don't recall the Oracle word; "dbo" might be SQL Server-specific. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link to Oracle permissions in the geodatabase.&amp;nbsp; In my experience, you might get better results asking for temporary permissions for cleanup activities.&amp;nbsp; &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/User_privileges_for_geodatabases_in_Oracle/002n0000002v000000/" title="http://resources.arcgis.com/en/help/main/10.1/index.html#/User_privileges_for_geodatabases_in_Oracle/002n0000002v000000/"&gt;ArcGIS Help 10.1&lt;/A&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The other alternative, unless the tables are huge, is to revoke SELECT so they don't bother anyone anymore.&amp;nbsp; It sounds like you can likely do that with your current credentials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your 9.3 days, the SDE user was possibly granted elevated permissions as part of the geodatabase creation process.&amp;nbsp; After the process was complete, the elevated permissions may have been removed.&amp;nbsp; Whatever happened, you can rest assured that all versions support OS authentication and you do not need to mess with SDE tables or rebuild your database!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 17:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519853#M29548</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2014-09-23T17:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete old feature classes from Oracle Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519854#M29549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marianne, I already updated the code that creates the featureclasses to grant delete to the SDE user.&amp;nbsp; The rest will have to be handled as one offs, which is a little annoying since we have to hand this over to a support team for 24/7 operational support.&amp;nbsp; Support are usually not dedicated database or GIS specialists so I will work with the DBA to write this into an SOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-old-feature-classes-from-oracle/m-p/519854#M29549</guid>
      <dc:creator>AlexanderGray</dc:creator>
      <dc:date>2014-09-23T18:43:41Z</dc:date>
    </item>
  </channel>
</rss>

