<?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 Field Type Changes in a versioned Table with existing values in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/field-type-changes-in-a-versioned-table-with/m-p/819271#M3640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There, We have a geodatabase (ver 10.4.1) hosted on SQL Server 2012. There is a table that has field (Length) that requires field type change from long to double. This field has values. Since the field names are the same and only type changes, here is my workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Create a field called LengthTemp&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Using Edit session, Calculate value from Length to LengthTemp&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Remove Length field&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Add Length as double field type&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Calculate value from LengthTemp to Length field&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Remove Length field &amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the ESRI recommended approach. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;First reconcile and post all the versions&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Unregister feature class&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Change schema&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Register feature class as versioned &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues that we have large number of editors and getting all the users to reconcile and post before making this change will result in delaying this update. I am curious how other community members are making these types of changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any feedback. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 21:07:38 GMT</pubDate>
    <dc:creator>jayshukla</dc:creator>
    <dc:date>2019-05-06T21:07:38Z</dc:date>
    <item>
      <title>Field Type Changes in a versioned Table with existing values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-type-changes-in-a-versioned-table-with/m-p/819271#M3640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There, We have a geodatabase (ver 10.4.1) hosted on SQL Server 2012. There is a table that has field (Length) that requires field type change from long to double. This field has values. Since the field names are the same and only type changes, here is my workflow:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Create a field called LengthTemp&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Using Edit session, Calculate value from Length to LengthTemp&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Remove Length field&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Add Length as double field type&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Calculate value from LengthTemp to Length field&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Remove Length field &amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the ESRI recommended approach. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;First reconcile and post all the versions&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Unregister feature class&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Change schema&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;Register feature class as versioned &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues that we have large number of editors and getting all the users to reconcile and post before making this change will result in delaying this update. I am curious how other community members are making these types of changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any feedback. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 21:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-type-changes-in-a-versioned-table-with/m-p/819271#M3640</guid>
      <dc:creator>jayshukla</dc:creator>
      <dc:date>2019-05-06T21:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Field Type Changes in a versioned Table with existing values</title>
      <link>https://community.esri.com/t5/geodatabase-questions/field-type-changes-in-a-versioned-table-with/m-p/819272#M3641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i don't think "Unregister feature class" &amp;amp; "Register feature class as versioned" is required for this workflow. You can check the below technical Article for more details:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000008159" title="https://support.esri.com/en/technical-article/000008159"&gt;FAQ: What schema changes can be made to versioned data?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would probably do the below:&lt;/P&gt;&lt;P&gt;- Disconnect all users and Reconcile\Post all versions&lt;/P&gt;&lt;P&gt;- Compress the geodatabase&lt;/P&gt;&lt;P&gt;- Make the schema changes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 05:53:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/field-type-changes-in-a-versioned-table-with/m-p/819272#M3641</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2019-05-07T05:53:42Z</dc:date>
    </item>
  </channel>
</rss>

