<?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: Updating multiversioned view fails in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191543#M10853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are thinking seems correct that since you are at 10.0 sp2 or higher that this should work without setting the version first - you also shouldn't have to call edit_version. Have you tried to just execute the sql directly without calling edit_version or setting the version? Take a look at this KB&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39112" title="http://support.esri.com/en/knowledgebase/techarticles/detail/39112"&gt;39112 - Cannot edit the DEFAULT version in STANDARD transaction mode&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What type of geometry is the feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000vp000000"&gt;Editing the DEFAULT version&lt;/A&gt;&lt;/H3&gt;&lt;P&gt; You could edit the DEFAULT version with SQL through versioned views if one or more of the following are true at your site:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The edits to be made are short transactions.&lt;/LI&gt;&lt;LI&gt;Your site requires that the edits made through a versioned view be available to other users immediately.&lt;/LI&gt;&lt;LI&gt;If editing feature classes,&lt;SPAN style="text-decoration: underline;"&gt; the feature classes use SQL spatial types, not binary geometry storage.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The table or feature class to be edited is not registered as versioned with the option to move edits to base.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2015 12:13:06 GMT</pubDate>
    <dc:creator>MelissaJarman</dc:creator>
    <dc:date>2015-06-26T12:13:06Z</dc:date>
    <item>
      <title>Updating multiversioned view fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191542#M10852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to edit a multiversioned view using SQL. I set the feature class to versioned, created the view from command line using "sdetable -o create_mv_view", and try to run an update with SQL on a single attribute field but receive the error:&lt;/P&gt;&lt;P&gt;Msg 50000, Level 16, State 1, Procedure v446_update, Line 27&lt;/P&gt;&lt;P&gt;User must call edit_version before editing the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to call edit_version I get:&lt;/P&gt;&lt;P&gt;Msg 50000, Level 16, State 1, Procedure edit_version, Line 78&lt;/P&gt;&lt;P&gt;Cannot edit the DEFAULT version in STANDARD transaction mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running ArcGIS and ArcSDE 10.0 SP3 on SQL Server 2008. The ability to edit the Default version through multiversioned views is available at version 10 SP2 according to &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_editing_versioned_data_using_SQL/006z000000vp000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_editing_versioned_data_using_SQL/006z000000vp000000/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39112" title="http://support.esri.com/en/knowledgebase/techarticles/detail/39112"&gt;http://support.esri.com/en/knowledgebase/techarticles/detail/39112&lt;/A&gt; describes this behavior also. Not specifying an edit version still gives me the first error above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be sure, I removed all other versions, compressed to state 0, unversioned the feature class, reverionsed, and recreated the view, but still have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone successfully use views in this way and what version is the server running? Is the documentation wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 18:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191542#M10852</guid>
      <dc:creator>PaulKroseman</dc:creator>
      <dc:date>2015-06-25T18:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Updating multiversioned view fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191543#M10853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are thinking seems correct that since you are at 10.0 sp2 or higher that this should work without setting the version first - you also shouldn't have to call edit_version. Have you tried to just execute the sql directly without calling edit_version or setting the version? Take a look at this KB&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.esri.com/en/knowledgebase/techarticles/detail/39112" title="http://support.esri.com/en/knowledgebase/techarticles/detail/39112"&gt;39112 - Cannot edit the DEFAULT version in STANDARD transaction mode&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What type of geometry is the feature class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000vp000000"&gt;Editing the DEFAULT version&lt;/A&gt;&lt;/H3&gt;&lt;P&gt; You could edit the DEFAULT version with SQL through versioned views if one or more of the following are true at your site:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The edits to be made are short transactions.&lt;/LI&gt;&lt;LI&gt;Your site requires that the edits made through a versioned view be available to other users immediately.&lt;/LI&gt;&lt;LI&gt;If editing feature classes,&lt;SPAN style="text-decoration: underline;"&gt; the feature classes use SQL spatial types, not binary geometry storage.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;The table or feature class to be edited is not registered as versioned with the option to move edits to base.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 12:13:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191543#M10853</guid>
      <dc:creator>MelissaJarman</dc:creator>
      <dc:date>2015-06-26T12:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Updating multiversioned view fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191544#M10854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update a non-spatial field and have not specified a version. My SQL is simple.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;UPDATE mv_view
SET datafield = 1&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the feature class is using SDE Binary. I did not think it would make a difference when trying to update non-spatial fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-multiversioned-view-fails/m-p/191544#M10854</guid>
      <dc:creator>PaulKroseman</dc:creator>
      <dc:date>2021-12-11T09:37:51Z</dc:date>
    </item>
  </channel>
</rss>

