<?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: Problem editing versioned data in SQL Server using multiversioned views and SQL in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722128#M40951</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem and I manage to find why. I executed the&amp;nbsp; "sdetable -o create_mv_view" command with an ArcSDE 10 on an ArcSDE 9.3.1 Database. To correct the situation I have done an "sdetable -o delete_mv_view" with Version 10 and "sdetable -o create_mv_view" with version 9.3.1 and after everything was fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JEB&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Nov 2011 19:02:26 GMT</pubDate>
    <dc:creator>Jean-EricBaribeau</dc:creator>
    <dc:date>2011-11-29T19:02:26Z</dc:date>
    <item>
      <title>Problem editing versioned data in SQL Server using multiversioned views and SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722125#M40948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am attempting to update a versioned sde table using the following steps in T SQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EXEC dbo.set_current_version 'dbo.DEFAULT';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXEC dbo.edit_version 'dbo.DEFAULT',1 ; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Delete from dbo.code_mv;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EXEC dbo.edit_version 'dbo.DEFAULT', 2;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a multiversioned view as described at this ArcGIS Resource Center page: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/in_SQL_Server/006z0000001r000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/in_SQL_Server/006z0000001r000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Except I want to delete all records and insert all new ones into the DEFAULT view. The problem is that the table upon which the multiversioned view is based is not being updated after the above steps are completed. The View is updated, but not the table. Step 8 from the web page above indicates that a post and reconcile must be performed using ArcGIS Desktop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me how to get the data from the multiversioned view to the sde table using SQL or .Net?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 15:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722125#M40948</guid>
      <dc:creator>JohnLove</dc:creator>
      <dc:date>2011-11-10T15:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem editing versioned data in SQL Server using multiversioned views and SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722126#M40949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What release of ArcGIS are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any time you edit a versioned view, be it the DEFAULT version or a named version (that is then reconciled and posted to the DEFAULT version), the geodatabase must be compressed to move the rows from the delta tables to the base table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 14:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722126#M40949</guid>
      <dc:creator>TomBrown</dc:creator>
      <dc:date>2011-11-11T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem editing versioned data in SQL Server using multiversioned views and SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722127#M40950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the latest. 10.0, Service Pack 3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found another issue. When creating a multiversioned view, the sde command "sdetable -o create_mv_view" , it creates the view and among other things, it also adds three triggers named v32_delete, v32_insert and v32_update. These triggers contain a call to the stored procedure SDE_get_globals. This stored procedure doesn't exist. At least in my two running SDE databases. When ever I attempt to insert into the multiversioned view, I get an error that says cannot find stored procedure&amp;nbsp; &amp;lt;database&amp;gt;.&amp;lt;schema&amp;gt;.SDE_get_globals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else created multiversioned views and if so, do you have this stored procedure?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 19:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722127#M40950</guid>
      <dc:creator>JohnLove</dc:creator>
      <dc:date>2011-11-15T19:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem editing versioned data in SQL Server using multiversioned views and SQL</title>
      <link>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722128#M40951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had the same problem and I manage to find why. I executed the&amp;nbsp; "sdetable -o create_mv_view" command with an ArcSDE 10 on an ArcSDE 9.3.1 Database. To correct the situation I have done an "sdetable -o delete_mv_view" with Version 10 and "sdetable -o create_mv_view" with version 9.3.1 and after everything was fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JEB&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 19:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/problem-editing-versioned-data-in-sql-server-using/m-p/722128#M40951</guid>
      <dc:creator>Jean-EricBaribeau</dc:creator>
      <dc:date>2011-11-29T19:02:26Z</dc:date>
    </item>
  </channel>
</rss>

