<?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: Connecting to SDE Versions in Excel in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618382#M34925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got that to work however I still have a few issues/questions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be beneficial to use multiversioned views? What is the difference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried repeatedly to create multiversioned views via the sde command but keep getting an error saying failure to access the DBMS server &amp;lt;-409&amp;gt; and could not create a connection on server for user (see attached)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, from my understanding using versioned views/multiversioned views and accessing them makes the table static/state is cached and therefore if any changes are made you can't see them because the state changes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to be able to connect to the versions in excel and have my excel spreadsheet update automatically every time any changes or additions are made to my feature classes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Oct 2012 17:45:44 GMT</pubDate>
    <dc:creator>JeremyLinley</dc:creator>
    <dc:date>2012-10-31T17:45:44Z</dc:date>
    <item>
      <title>Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618377#M34920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a .SDE database (Version 10.1) through SQL Server that utilizes versioning. I also have a cost estimate sheet in excel that contains formulas that need to use attribute data from some of the versioned feature classes. Essentially, I need to be able to connect to the .SDE database and its versions in excel so that the cost estimate sheet can be automatically updated whenever there are adds/deletes/edits made to the feature classes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't need to bring anything from excel into ArcMap; I just need to bring attribute information into excel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 14:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618377#M34920</guid>
      <dc:creator>JeremyLinley</dc:creator>
      <dc:date>2012-10-30T14:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618378#M34921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Trista,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, create a versioned view of the feature class you need to add to excel.&amp;nbsp; Versioned views allow you to read or edit versioned data in a geodatabase table or feature class.&amp;nbsp; Here is some more information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z0000000q000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//006z0000000q000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000vr000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//006z000000vr000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After you create the versioned view you can add this to Excel.&amp;nbsp; Here is a helpful link I found:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://office.microsoft.com/en-us/excel-help/connect-to-import-sql-server-data-HA010217956.aspx"&gt;http://office.microsoft.com/en-us/excel-help/connect-to-import-sql-server-data-HA010217956.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 15:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618378#M34921</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-10-30T15:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618379#M34922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created versioned view, however it only accesses the default version data&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 16:40:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618379#M34922</guid>
      <dc:creator>JeremyLinley</dc:creator>
      <dc:date>2012-10-30T16:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618380#M34923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you are connected to the version you want to create the view for.&amp;nbsp; You can change the version by right-clicking on the geodatabase &amp;gt; Geodatabase Connection Properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 16:44:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618380#M34923</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2012-10-30T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618381#M34924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Trista,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I was incorrect before.&amp;nbsp; You will actually have to set the version in SQL Server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/in_SQL_Server/006z0000000z000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/in_SQL_Server/006z0000000z000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you could do is set the version, then write the results of your query to a new table.&amp;nbsp; Ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;EXEC sde.set_current_version 'edit_1'

select *
into Airports_VW_Edit
from Airports_VW&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What the above codes does is sets the geodatabase to the version ("edit_1") I want to query.&amp;nbsp; Then it queries the versioned view ("Airports_VW") and writes the query to a new table ("Airports_VW_Edit").&amp;nbsp; You can then add the "Airports_VW_Edit" to Excel.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:25:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618381#M34924</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-12T02:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618382#M34925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I got that to work however I still have a few issues/questions. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be beneficial to use multiversioned views? What is the difference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried repeatedly to create multiversioned views via the sde command but keep getting an error saying failure to access the DBMS server &amp;lt;-409&amp;gt; and could not create a connection on server for user (see attached)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, from my understanding using versioned views/multiversioned views and accessing them makes the table static/state is cached and therefore if any changes are made you can't see them because the state changes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just want to be able to connect to the versions in excel and have my excel spreadsheet update automatically every time any changes or additions are made to my feature classes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 17:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618382#M34925</guid>
      <dc:creator>JeremyLinley</dc:creator>
      <dc:date>2012-10-31T17:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618383#M34926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay I got the connection figured out but now it is saying Error: DBMS view exists &amp;lt;-238&amp;gt; but I deleted the view before I tried to run the create mv view command&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 19:21:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618383#M34926</guid>
      <dc:creator>JeremyLinley</dc:creator>
      <dc:date>2012-10-31T19:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618384#M34927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Trista,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A multiversioned view is the same as a versioned view.&amp;nbsp; See the 'Legacy' note &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//006z0000000q000000" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A versioned view is dynamic, however the table you created using the query I previously sent is static.&amp;nbsp; I tested to see if I could create a trigger on the A &amp;amp; D tables so that when the feature class is updated, the query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;EXEC sde.set_current_version 'edit_1'

select *
into Airports_VW_Edit
from Airports_VW&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is executed again.&amp;nbsp; This would make the 'Airports_VW_Edit' table, in this example, dynamic.&amp;nbsp; It worked for the most part but will not show the last edit.&amp;nbsp; I'll let you know if I am able to determine what is causing this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:25:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618384#M34927</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-12T02:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SDE Versions in Excel</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618385#M34928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, is there any way to run the code you sent me for an entire dataset rather than by each feature class individually?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 20:51:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-to-sde-versions-in-excel/m-p/618385#M34928</guid>
      <dc:creator>JeremyLinley</dc:creator>
      <dc:date>2012-10-31T20:51:13Z</dc:date>
    </item>
  </channel>
</rss>

