<?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: View on versioned ArcSDE feature class in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524590#M29792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I created a view on a versioned ArcSDE feature class and a versioned ArcSDE table. The view is a join between the two elements.&lt;BR /&gt;&lt;SPAN style="color:#0000ff;"&gt;The feature class &lt;STRONG&gt;is &lt;/STRONG&gt;registered as versioned&lt;/SPAN&gt; &lt;STRONG style="text-decoration: underline;"&gt;without&lt;/STRONG&gt; the option to move edits to base.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
sdetable -o create_view -T VG_PSI -t psi,pdi -c pdi.id_pdi,psi.id_iti,pdi.shape -p psswd -u user -i sde:oracle11g:fero -w pdi.id_pdi=psi.id_pdi
&lt;/PRE&gt;&lt;BR /&gt;The created view contains some fields of the table and some fields of the feature class in addition to the geometry (shape) of the feature class.&lt;BR /&gt;When I modify the table, the changes are made in the view.&lt;BR /&gt;But when I change the geometry of a feature in the feature class, that geometry change doesn't happen in the view.&lt;BR /&gt;I did some investigations and I concluded that the view does read the geometry from the "final object table" and not from the delta tables (A and D)! Normally, the opposite shoould happen. &lt;SPAN style="color:#0000ff;"&gt;And since the feature class is &lt;STRONG&gt;not &lt;/STRONG&gt;registered as versioned &lt;/SPAN&gt;with the option to move edits to base, the "final object table" doesn't contain the newest version of the feature class.&lt;BR /&gt;&lt;BR /&gt;Is there a way to make the view read from the delta tables? Or do you have any suggestion to avoid this problem?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it registered as versioned or not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:52:29 GMT</pubDate>
    <dc:creator>LeoDonahue</dc:creator>
    <dc:date>2021-12-11T22:52:29Z</dc:date>
    <item>
      <title>View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524589#M29791</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;SPAN&gt;I created a view on a versioned ArcSDE feature class and a versioned ArcSDE table. The view is a join between the two elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The feature class is registered as versioned &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;without&lt;/STRONG&gt;&lt;SPAN&gt; the option to move edits to base.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;sdetable -o create_view -T VG_PSI -t psi,pdi -c pdi.id_pdi,psi.id_iti,pdi.shape -p psswd -u user -i sde:oracle11g:fero -w pdi.id_pdi=psi.id_pdi&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;The created view contains some fields of the table and some fields of the feature class in addition to the geometry (shape) of the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I modify the table, the changes are made in the view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I change the geometry of a feature in the feature class, that geometry change doesn't happen in the view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did some investigations and I concluded that the view does read the geometry from the "final object table" and not from the delta tables (A and D)! Normally, the opposite shoould happen. And since the feature class is registered as versioned without the option to move edits to base, the "final object table" doesn't contain the newest version of the feature class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to make the view read from the delta tables? Or do you have any suggestion to avoid this problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 13:35:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524589#M29791</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-23T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524590#M29792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I created a view on a versioned ArcSDE feature class and a versioned ArcSDE table. The view is a join between the two elements.&lt;BR /&gt;&lt;SPAN style="color:#0000ff;"&gt;The feature class &lt;STRONG&gt;is &lt;/STRONG&gt;registered as versioned&lt;/SPAN&gt; &lt;STRONG style="text-decoration: underline;"&gt;without&lt;/STRONG&gt; the option to move edits to base.&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
sdetable -o create_view -T VG_PSI -t psi,pdi -c pdi.id_pdi,psi.id_iti,pdi.shape -p psswd -u user -i sde:oracle11g:fero -w pdi.id_pdi=psi.id_pdi
&lt;/PRE&gt;&lt;BR /&gt;The created view contains some fields of the table and some fields of the feature class in addition to the geometry (shape) of the feature class.&lt;BR /&gt;When I modify the table, the changes are made in the view.&lt;BR /&gt;But when I change the geometry of a feature in the feature class, that geometry change doesn't happen in the view.&lt;BR /&gt;I did some investigations and I concluded that the view does read the geometry from the "final object table" and not from the delta tables (A and D)! Normally, the opposite shoould happen. &lt;SPAN style="color:#0000ff;"&gt;And since the feature class is &lt;STRONG&gt;not &lt;/STRONG&gt;registered as versioned &lt;/SPAN&gt;with the option to move edits to base, the "final object table" doesn't contain the newest version of the feature class.&lt;BR /&gt;&lt;BR /&gt;Is there a way to make the view read from the delta tables? Or do you have any suggestion to avoid this problem?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it registered as versioned or not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:52:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524590#M29792</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2021-12-11T22:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524591#M29793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no way to make a simple view read from delta tables.&amp;nbsp; If you're&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using ArcGIS 10.1, multi-version views are replaced by versioned views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:30:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524591#M29793</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-01-23T14:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524592#M29794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@ldonahue: It is registered as versioned but without the option to move edits to base. I've corrected my first post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@vangelo: with mv_view I can't create a join between two tables. I'm using ArcGIS 10.0 SP 5.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524592#M29794</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-23T14:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524593#M29795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was under the impression that if you were creating sde views on versioned data that once you reconcile/post/synchronize, that your sde view will be updated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 18:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524593#M29795</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-01-23T18:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524594#M29796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;@ldonahue: It is registered as versioned but without the option to move edits to base. I've corrected my first post.&lt;BR /&gt;@vangelo: with mv_view I can't create a join between two tables. I'm using ArcGIS 10.0 SP 5.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was under the impression that if you were creating sde views on versioned data that once you reconcile/post/synchronize, that your sde view will be updated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This section of the ArcGIS Help page &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z0000000q000000"&gt;"What are versioned views?"&lt;/A&gt;&lt;SPAN&gt; may be of relevance:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"Versioned views do not work with functionality implemented at the geodatabase level. Therefore, they should not be used to edit data that participates in geodatabase behavior. See What type of data can be edited using SQL for more information.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;If you query a versioned view without setting the version and state, you are referencing the current state of the DEFAULT version.&lt;/STRONG&gt; If other users are committing edits to the DEFAULT version (thereby changing the state that the DEFAULT version references), your subsequent queries will see the latest state of DEFAULT and their edits.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;If you specify version to query using the set_current_version function or procedure (names vary slightly depending on your database management system), you are referencing the state that the specified version was referencing when you set the version.&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;For example, if you run the set_current_version function to set the version to a named version called decedits and decedits is pointing to state 4 in the state tree, all subsequent SQL queries you make against decedits will see state 4 of the data even if other users are posting edits to decedits, causing the current state of decedits to be state 25. To see state 25, run the set_current_version function again to set the version to the current state of decedits."&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 21:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524594#M29796</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-01-23T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524595#M29797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this is an apples to oranges comparison.&amp;nbsp; I wasn't talking about versioned views.&amp;nbsp; I'm not clear the OP is talking about versioned views either.&amp;nbsp; The OP indicated that they created a view on a versioned featureclass and a versioned sde table, which you can still do with the sdetable -o create_view command.&amp;nbsp; We are doing this on versioned featureclasses at 10.0&amp;nbsp; It's no different than creating a view on non-versioned data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From this discussion, it looks like at 10.1 versioned views can point to various states.&amp;nbsp; Sounds interesting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 00:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524595#M29797</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-01-24T00:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: View on versioned ArcSDE feature class</title>
      <link>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524596#M29798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found an interesting solution that works fine for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a multiversioned view on the feature class and on the table following what is said here : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/23833-How-To-Create-a-Multi-versioned-Spatial-View" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/23833-How-To-Create-a-Multi-versioned-Spatial-View&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I created a "join" view on the two mv views. It works perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 07:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/view-on-versioned-arcsde-feature-class/m-p/524596#M29798</guid>
      <dc:creator>ab1</dc:creator>
      <dc:date>2013-01-24T07:41:16Z</dc:date>
    </item>
  </channel>
</rss>

