<?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 Modify existing Geodatabase Sequences in Data Management Ideas</title>
    <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idi-p/934305</link>
    <description>&lt;P&gt;There are two geoprocessing tools in the Geodatabase Admin tool box: Create and Delete Database Sequence.&amp;nbsp; You can get access to a sequence's properties using &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/data-access/listdatabasesequences.htm" target="_blank"&gt;arcpy.ListDatabaseSquences&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The database sequence help page states:&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;DatabaseSequence&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;objects cannot be initialized directly&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and the&amp;nbsp;properties table shows all the properties as read only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess the only way to alter an existing database sequence is to delete it and recreate it.&amp;nbsp; It would be cool if an existing one could be altered or modified.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2022 21:46:50 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2022-09-09T21:46:50Z</dc:date>
    <item>
      <title>Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idi-p/934305</link>
      <description>&lt;P&gt;There are two geoprocessing tools in the Geodatabase Admin tool box: Create and Delete Database Sequence.&amp;nbsp; You can get access to a sequence's properties using &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/data-access/listdatabasesequences.htm" target="_blank"&gt;arcpy.ListDatabaseSquences&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The database sequence help page states:&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;DatabaseSequence&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;objects cannot be initialized directly&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and the&amp;nbsp;properties table shows all the properties as read only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I guess the only way to alter an existing database sequence is to delete it and recreate it.&amp;nbsp; It would be cool if an existing one could be altered or modified.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 21:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idi-p/934305</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2022-09-09T21:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934306#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can make changes to the sequence and increase for example the cache sequence values&amp;nbsp;in the RDMBS&amp;nbsp;using SQL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 20:52:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934306#M833</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2020-05-06T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934307#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in a file gdb...&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 20:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934307#M834</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-05-06T20:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934308#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp;in a file gdb you have no option, you have to use the ArcCatalog tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 21:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/934308#M835</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2020-05-06T21:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1127193#M1799</link>
      <description>&lt;P&gt;Where do the sequences exist in the SQL DB?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1127193#M1799</guid>
      <dc:creator>JordanFollett1</dc:creator>
      <dc:date>2021-12-17T16:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences - Status changed to: Needs Clarification</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1221815#M1994</link>
      <description>&lt;P&gt;Thanks for the idea&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We're interested in knowing more about this.&amp;nbsp; Could you share some example workflows you use that would benefit from being able to alter the database sequence?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 21:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1221815#M1994</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2022-10-13T21:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1221832#M1995</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;I retired back in December 2022 and haven’t even thought about database sequences since then. I have landed a lot of fish however in that time…&lt;/P&gt;&lt;P&gt;All seriousness aside, let’s say you get a large influx of data you need to append into your database and with it comes a need to alter the sequence in some fashion. In my (former) case, that could come as an annexation into a city &amp;nbsp;&lt;/P&gt;&lt;P&gt;In a SQL Server database you can back door that but not in the case of the FGDB.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you need me, I’ll be on the river…&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 21:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1221832#M1995</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2022-10-13T21:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1253692#M2078</link>
      <description>&lt;P&gt;I wonder if there are any updates on this front.&lt;BR /&gt;&lt;BR /&gt;Also, would it be possible to utilize a sequence from another EGDB?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3374"&gt;@JoeBorgione&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 08:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1253692#M2078</guid>
      <dc:creator>TitusGian</dc:creator>
      <dc:date>2023-02-01T08:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1253899#M2080</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/586540"&gt;@TitusGian&lt;/a&gt;&amp;nbsp;- Geodatabase sequences are unique per featureclass and table, so it cannot be used for anything else, and avoid editing or modifing the sequence manually directly in the rdbms, this can cause issues if you do not know what you are doing is correct, you might end up with issues with objectid's.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 16:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1253899#M2080</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2023-02-01T16:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411292#M2385</link>
      <description>&lt;P&gt;Does anyone know of a way to delete all the sequences in an enterprise geodatabase at once?&amp;nbsp; I am having to refresh all of the data in a geodatabase without recreating it but I can't do that without deleting all the sequences (and attribute rules).&amp;nbsp; Is there a python script that could iterate through them and delete them?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 23:08:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411292#M2385</guid>
      <dc:creator>MatthewStull1</dc:creator>
      <dc:date>2024-04-17T23:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411294#M2386</link>
      <description>&lt;P&gt;Afternoon&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/304962"&gt;@MatthewStull1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Have you tried something like:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;workspace = &amp;lt;workspace path&amp;gt;

for seq in arcpy.da.ListDatabaseSequences(workspace):
    arcpy.management.DeleteDatabaseSequence(workspace, seq.name)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 17 Apr 2024 23:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411294#M2386</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2024-04-17T23:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences - Status changed to: Open</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411295#M2387</link>
      <description />
      <pubDate>Wed, 17 Apr 2024 23:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411295#M2387</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2024-04-17T23:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411317#M2388</link>
      <description>&lt;P&gt;I keep getting the error message "Could not open SDE workspace." when I run this code:&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;arcpy.env.workspace = r"R:\GIS_Ongoing\Cityworks\Cityworks GIS Editing Environment\Cityworks Catalog ONLY\Cityworks Development matts.sde"&lt;BR /&gt;seqwork = r"R:\GIS_Ongoing\Cityworks\Cityworks GIS Editing Environment\Cityworks Catalog ONLY\Cityworks Development matts.sde"&lt;BR /&gt;sq_list = arcpy.da.ListDatabaseSequences(seqwork)&lt;BR /&gt;#attribue rule sequences&lt;BR /&gt;for seq in sq_list:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; arcpy.management.DeleteDatabaseSequence(seq)&lt;/P&gt;&lt;P&gt;I haven't done python scripting for a while so I'm just trying to make this work.&amp;nbsp; I'm using Pro 3.1&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 23:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411317#M2388</guid>
      <dc:creator>MatthewStull1</dc:creator>
      <dc:date>2024-04-17T23:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411318#M2389</link>
      <description>&lt;P&gt;Hard to say.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Check to make sure you have the correct access: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/delete-database-sequence.htm" target="_blank" rel="noopener"&gt;Delete Database Sequence Doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Does ListDatabaseSequences() work on its own for you?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 00:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1411318#M2389</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2024-04-18T00:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing Geodatabase Sequences</title>
      <link>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1631141#M2541</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/604859"&gt;@SSWoodward&lt;/a&gt;&amp;nbsp;- If you're still looking for workflow examples, here is one I am in the middle of:&lt;/P&gt;&lt;P&gt;As a Solution Architect I need to be able to reset a sequence when my users are ready to switch from training and testing to 'live' work.&lt;/P&gt;&lt;P&gt;In our situation we do not have a dev instance of enterprise where users can test out new solutions.&amp;nbsp; So quite often they are 'testing' in our live environment and then when they decide they are ready to start actually using the solution they want things reset.&amp;nbsp; Admittedly, this is us catering to their need to have things like file numbers start at an 'clean' value like 10,000.&amp;nbsp; From a data perspective it doesn't matter but users often care about things like that.&lt;/P&gt;&lt;P&gt;It would be very handy to have a tool that let us specify a new "last number used" value for the sequence.&amp;nbsp; I can also see instances where this would be helpful for making landmarks in a sequence.&amp;nbsp; For example, all numbers above 20,000 are after we [started doing something new].&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 15:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-ideas/modify-existing-geodatabase-sequences/idc-p/1631141#M2541</guid>
      <dc:creator>KevinVaughn</dc:creator>
      <dc:date>2025-07-08T15:43:03Z</dc:date>
    </item>
  </channel>
</rss>

