<?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 Oracle: Increase field text length on feature class with A and D Tables. in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1387923#M8944</link>
    <description>&lt;P&gt;Hello DM'ers&lt;/P&gt;&lt;P&gt;Geodatabase 11.1&lt;BR /&gt;ArcGIS Pro 3.1&lt;BR /&gt;Oracle 19.16.0.0&lt;BR /&gt;ST_GEOMETRY&lt;/P&gt;&lt;P&gt;I have read the documentation on Alter Field as I wish to increase the length of a text field from 100 to 200 characters. The field contains data already and the feature class is editable and so has associated A and D tables.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Firstly, is it possible to use the alter field tool on feature classes stored in Oracle to increase field length?&lt;/LI&gt;&lt;LI&gt;Secondly, if it is possible, will the associated A-Table be updated as well?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Feedback welcome&amp;nbsp; - thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 09:20:30 GMT</pubDate>
    <dc:creator>JamesMorrison1</dc:creator>
    <dc:date>2024-02-28T09:20:30Z</dc:date>
    <item>
      <title>Oracle: Increase field text length on feature class with A and D Tables.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1387923#M8944</link>
      <description>&lt;P&gt;Hello DM'ers&lt;/P&gt;&lt;P&gt;Geodatabase 11.1&lt;BR /&gt;ArcGIS Pro 3.1&lt;BR /&gt;Oracle 19.16.0.0&lt;BR /&gt;ST_GEOMETRY&lt;/P&gt;&lt;P&gt;I have read the documentation on Alter Field as I wish to increase the length of a text field from 100 to 200 characters. The field contains data already and the feature class is editable and so has associated A and D tables.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Firstly, is it possible to use the alter field tool on feature classes stored in Oracle to increase field length?&lt;/LI&gt;&lt;LI&gt;Secondly, if it is possible, will the associated A-Table be updated as well?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Feedback welcome&amp;nbsp; - thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 09:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1387923#M8944</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2024-02-28T09:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Increase field text length on feature class with A and D Tables.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1387969#M8945</link>
      <description>&lt;P&gt;Based on my experiences using the alter fields gptools&lt;/P&gt;&lt;P&gt;You can fully utilize this tool if the table is empty. If not, it only works with field name and alias.&amp;nbsp;It cannot increase the field length if you have a value inside the specific field. Alternatively, you need to create a new backup field first, with similar properties to the original. Delete the original field, then create a new field that is similar to the old one with updated properties i.e length&lt;/P&gt;&lt;P&gt;If the table is related in the db using relationship class or table view, I am afraid it is already locked. You must break that lock by deleting relationship class or delete table view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps you&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 12:10:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1387969#M8945</guid>
      <dc:creator>AlexanderDanielPratama</dc:creator>
      <dc:date>2024-02-28T12:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Increase field text length on feature class with A and D Tables.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1388139#M8947</link>
      <description>&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/what-schema-changes-can-be-made-to-versioned-data-14624-000008159" target="_blank" rel="noopener"&gt;FAQ: What Schema Changes Can Be Made to Versioned Data? (esri.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/schema-changes-and-archiving.htm" target="_blank" rel="noopener"&gt;Schema changes and archiving—ArcGIS Pro | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/alter-field-properties.htm" target="_blank" rel="noopener"&gt;Alter Field (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tips:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- do not make any changes to the tables directly in Oracle via SQL statements, the Geodatabase Repository will not like that and you can corrupt the Geodatabase.&lt;/P&gt;&lt;P&gt;- any fields changes shall be done with the ArcGIS tools&lt;/P&gt;&lt;P&gt;- always take a full backup of your Geodatabase before doing schema changes.&lt;/P&gt;&lt;P&gt;- Oracle Geodatabase the Oracle Database Administrator can create a "guarantee restore point", then if something goes wrong use the "restore point" to flashback the database, and if everything goes fine then drop the "restore point" after the changes.&lt;/P&gt;&lt;P&gt;- if the Alter Field GP Tool does not work for you case or if you have unexpected results then the easy way to proceed is to follow these steps.&lt;/P&gt;&lt;P&gt;0. take a full database backup.&lt;/P&gt;&lt;P&gt;1. create the Oracle Database Guaranteed Restore Point&lt;/P&gt;&lt;P&gt;2. ask all users to disconnect and stop all ArcGIS Server Services&lt;/P&gt;&lt;P&gt;3. use ArcGIS Pro to add the new field, if geodatabase traditional versioning is enabled, then the new field will be added to the A tables as well.&lt;/P&gt;&lt;P&gt;4. use ArcGIS Pro to calculate the new field using the old field, do this in the sde.default version, it might take longer if you have a lot of data, after doing this execute a sde compress connected as the sde user (if using traditional versioning).&lt;/P&gt;&lt;P&gt;5. use ArcGIS Pro to drop the old field.&lt;/P&gt;&lt;P&gt;6. use ArcGIS Pro and run another sde compress connected as the sde user ( if using traditional versioning).&lt;/P&gt;&lt;P&gt;7. if the old field has an index then recreate the index in the new field using ArcGIS Pro.&lt;/P&gt;&lt;P&gt;8. gather new statistics - important must do!!!&lt;/P&gt;&lt;P&gt;9. drop the Oracle Database Guaranteed Restore Point&lt;/P&gt;&lt;P&gt;10. take another full database backup.&lt;BR /&gt;&lt;BR /&gt;- if you have a lot of data and using geodatabase traditional versioning, then consider to reconcile and post all versions child of sde.default, run a sde compress, then delete the child versions, then run another sde compress, then unregister the featureclass/table as traditional versioning, then make the changes ( add new filed, calculate new field with old field, drop old field), then register as traditional versioning again.&lt;BR /&gt;&lt;BR /&gt;A good example of using Oracle Guaranteed Restore Point.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/oracle-egdb-sde-repo-upgrade-using-oracle-restore/ba-p/1190454" target="_blank" rel="noopener"&gt;Oracle eGDB SDE Repo Upgrade Using Oracle Restore Point&lt;/A&gt; | &lt;A href="https://esriis-my.sharepoint.com/:b:/g/personal/marc3932_esri_com/ERQI5OsB6W9NhDfIETaZN7sBlueMweVSJdT5NrFEVntFCA?e=6H92Li" target="_blank" rel="noopener nofollow noreferrer"&gt;Download PDF Version&lt;/A&gt;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:56:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1388139#M8947</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2024-02-28T16:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle: Increase field text length on feature class with A and D Tables.</title>
      <link>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1388140#M8948</link>
      <description>&lt;P&gt;Great detailed answer Marcelo. Much appreciated.&lt;BR /&gt;&lt;SPAN&gt;I&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;was only going to use the&amp;nbsp;&lt;SPAN&gt;Alter Field GP Tool never directly with SQL.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 16:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/oracle-increase-field-text-length-on-feature-class/m-p/1388140#M8948</guid>
      <dc:creator>JamesMorrison1</dc:creator>
      <dc:date>2024-02-28T16:58:25Z</dc:date>
    </item>
  </channel>
</rss>

