<?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: How to create a version view of a specific version in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474615#M18344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/read-sqlserver-versioned-data-with-sql.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/read-sqlserver-versioned-data-with-sql.htm"&gt;Read versioned data in SQL Server using versioned views—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;Read a specific version state&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;If you want to query a specific state of the Default version and don't want the state to change while you are querying, execute the set_current_version stored procedure. This procedure validates the supplied version name and sets the corresponding database state internally. If you execute set_current_version for the Default version, queries you make against Default will always point to the state Default referenced when you executed the set_current_version stored procedure.&lt;/P&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;Set_current_version can be executed directly from an SQL client. The syntax is as follows for an sde-schema geodatabase:&lt;/P&gt;&lt;DIV class="" style="color: #4d4d4d; background-color: #fefefe;"&gt;&lt;DIV class=""&gt;&lt;PRE style="font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;CODE style="background: #fafafa; border: 1px solid #ededed; padding: 0.3125rem;"&gt;&lt;SPAN class="" style="color: blue;"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class=""&gt;sde&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;set_current_version&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a31515;"&gt;'&amp;lt;version_name&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;For dbo-schema geodatabases, the stored procedure is owned by dbo, so the syntax is as follows:&lt;/P&gt;&lt;DIV class="" style="color: #4d4d4d; background-color: #fefefe; padding-bottom: 75px;"&gt;&lt;DIV class=""&gt;&lt;PRE style="font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;CODE style="background: #fafafa; border: 1px solid #ededed; padding: 0.3125rem;"&gt;&lt;SPAN class="" style="color: blue;"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class=""&gt;dbo&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;set_current_version&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a31515;"&gt;'&amp;lt;version_name&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 08:45:16 GMT</pubDate>
    <dc:creator>Asrujit_SenGupta</dc:creator>
    <dc:date>2017-08-02T08:45:16Z</dc:date>
    <item>
      <title>How to create a version view of a specific version</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474614#M18343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to make a connection to our Enterprise SQL GIS database to view a Feature Class and a stand alone table as they exist in a specific version of the database. &amp;nbsp;I know about versioned views, but they seem to just access the current state of the Default version of the data. &amp;nbsp;I want to access the current state of a child of the Default version. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to connect to the feature class and table to show a grid view of the records in a non GIS web application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it&amp;nbsp;possible to connect to a table and feature class table in a specific version of our versioned GIS database?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 21:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474614#M18343</guid>
      <dc:creator>RichardBunten1</dc:creator>
      <dc:date>2017-08-01T21:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a version view of a specific version</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474615#M18344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/read-sqlserver-versioned-data-with-sql.htm" title="http://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/read-sqlserver-versioned-data-with-sql.htm"&gt;Read versioned data in SQL Server using versioned views—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;Read a specific version state&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;If you want to query a specific state of the Default version and don't want the state to change while you are querying, execute the set_current_version stored procedure. This procedure validates the supplied version name and sets the corresponding database state internally. If you execute set_current_version for the Default version, queries you make against Default will always point to the state Default referenced when you executed the set_current_version stored procedure.&lt;/P&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;Set_current_version can be executed directly from an SQL client. The syntax is as follows for an sde-schema geodatabase:&lt;/P&gt;&lt;DIV class="" style="color: #4d4d4d; background-color: #fefefe;"&gt;&lt;DIV class=""&gt;&lt;PRE style="font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;CODE style="background: #fafafa; border: 1px solid #ededed; padding: 0.3125rem;"&gt;&lt;SPAN class="" style="color: blue;"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class=""&gt;sde&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;set_current_version&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a31515;"&gt;'&amp;lt;version_name&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #4d4d4d; background-color: #fefefe; font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;For dbo-schema geodatabases, the stored procedure is owned by dbo, so the syntax is as follows:&lt;/P&gt;&lt;DIV class="" style="color: #4d4d4d; background-color: #fefefe; padding-bottom: 75px;"&gt;&lt;DIV class=""&gt;&lt;PRE style="font-size: 0.75em; margin-bottom: 1.5em;"&gt;&lt;CODE style="background: #fafafa; border: 1px solid #ededed; padding: 0.3125rem;"&gt;&lt;SPAN class="" style="color: blue;"&gt;EXEC&lt;/SPAN&gt; &lt;SPAN class=""&gt;dbo&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;set_current_version&lt;/SPAN&gt; &lt;SPAN class="" style="color: #a31515;"&gt;'&amp;lt;version_name&amp;gt;'&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 08:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474615#M18344</guid>
      <dc:creator>Asrujit_SenGupta</dc:creator>
      <dc:date>2017-08-02T08:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a version view of a specific version</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474616#M18345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/230847"&gt;Asrujit SenGupta&lt;/A&gt; How are you using this?&amp;nbsp; I can execute the EXEC as a Stored Procedure, but I can't use it in a view or query.&amp;nbsp; I'm trying to publish a view as a feature service to ArcGIS Enterprise, but it only gives me what is in the DEFAULT version.&amp;nbsp; I need to publish my QA version which is an immediate child of DEFAULT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 17:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-create-a-version-view-of-a-specific-version/m-p/474616#M18345</guid>
      <dc:creator>ZacharyOrdo__GISP</dc:creator>
      <dc:date>2018-11-02T17:28:14Z</dc:date>
    </item>
  </channel>
</rss>

