<?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 Updating Versioned Views Via SQL Management Studio Fails in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252147#M44380</link>
    <description>&lt;P&gt;I am trying to update a single column of a versioned view using Sql. We are using a Microsoft SQL Server geodatabase. The production Geodatabase version is 10.0. The development Geodatabase version is 10.3.1.&lt;BR /&gt;&lt;BR /&gt;The update query would look something like this:&lt;/P&gt;&lt;P&gt;UPDATE [Meter_evw] SET Zone_name = 'example' WHERE ObjectId = 1;&lt;/P&gt;&lt;P&gt;Running this query results in the following error:&lt;/P&gt;&lt;P&gt;Could not find stored procedure '&amp;lt;DatabaseName&amp;gt;.&amp;lt;Schema&amp;gt;.SDE_get_globals'.&lt;/P&gt;&lt;P&gt;If I run the same query on our development geodatabase (basically an exact copy, however it's version is 10.3.1) I have no issues, everything works as expected.&lt;/P&gt;&lt;P&gt;I know for a fact that I used ArcMap 10.3.1 to register the Meter FeatureClass (on the production Geodatabase) in question as versioned.&lt;/P&gt;&lt;P&gt;My suspicion is that the mismatch between the ArcMap version and the Geodatabase version when the versioned views were created has caused this issue. Is that correct? If so what is the best way to fix it?&lt;/P&gt;&lt;P&gt;I have two ideas:&lt;/P&gt;&lt;P&gt;- Upgrade the production database to 10.3.1&lt;BR /&gt;- Use ArcMap 10.3.1 to remove the versioned views, and use ArcMap 10.0 to add the versioned views back.&lt;BR /&gt;&lt;BR /&gt;Are there better options and is this even the correct direction?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 22:14:16 GMT</pubDate>
    <dc:creator>daniel__j</dc:creator>
    <dc:date>2023-01-26T22:14:16Z</dc:date>
    <item>
      <title>Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252147#M44380</link>
      <description>&lt;P&gt;I am trying to update a single column of a versioned view using Sql. We are using a Microsoft SQL Server geodatabase. The production Geodatabase version is 10.0. The development Geodatabase version is 10.3.1.&lt;BR /&gt;&lt;BR /&gt;The update query would look something like this:&lt;/P&gt;&lt;P&gt;UPDATE [Meter_evw] SET Zone_name = 'example' WHERE ObjectId = 1;&lt;/P&gt;&lt;P&gt;Running this query results in the following error:&lt;/P&gt;&lt;P&gt;Could not find stored procedure '&amp;lt;DatabaseName&amp;gt;.&amp;lt;Schema&amp;gt;.SDE_get_globals'.&lt;/P&gt;&lt;P&gt;If I run the same query on our development geodatabase (basically an exact copy, however it's version is 10.3.1) I have no issues, everything works as expected.&lt;/P&gt;&lt;P&gt;I know for a fact that I used ArcMap 10.3.1 to register the Meter FeatureClass (on the production Geodatabase) in question as versioned.&lt;/P&gt;&lt;P&gt;My suspicion is that the mismatch between the ArcMap version and the Geodatabase version when the versioned views were created has caused this issue. Is that correct? If so what is the best way to fix it?&lt;/P&gt;&lt;P&gt;I have two ideas:&lt;/P&gt;&lt;P&gt;- Upgrade the production database to 10.3.1&lt;BR /&gt;- Use ArcMap 10.3.1 to remove the versioned views, and use ArcMap 10.0 to add the versioned views back.&lt;BR /&gt;&lt;BR /&gt;Are there better options and is this even the correct direction?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 22:14:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252147#M44380</guid>
      <dc:creator>daniel__j</dc:creator>
      <dc:date>2023-01-26T22:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252276#M44383</link>
      <description>&lt;P&gt;I would start with, you may want to upgrade to a newer (supported) version.&lt;BR /&gt;&lt;BR /&gt;There were major changes between 10.0.x and 10.3.x enterprise geodatabases. I imagine that this may be part of the issue.&lt;BR /&gt;&lt;BR /&gt;Is there a reason that you are not on a newer version, like at least 10.7.1?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 11:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252276#M44383</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-01-27T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252313#M44385</link>
      <description>&lt;BLOCKQUOTE&gt;Is there a reason that you are not on a newer version, like at least 10.7.1?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In my opinion, not a good one. My employer's IT department consisted of 1 person up until about two years ago. Basically keeping ArcGis software up to date has never been made a priority. Which is why we are stuck on 10.0 for the DB and 10.3.1 for ArcMap and ArcServer.&lt;BR /&gt;&lt;BR /&gt;I have never updated enterprise DB before, how painful is the process? How much is going to break? I have multiple in house applications that require access to our production database.&lt;BR /&gt;&lt;BR /&gt;Thanks for the help.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 13:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252313#M44385</guid>
      <dc:creator>daniel__j</dc:creator>
      <dc:date>2023-01-27T13:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252334#M44386</link>
      <description>&lt;P&gt;Upgrading is usually a quick process on SQL Server. Here is the doc for going to 10.8.x:&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/upgrade-geodatabase-sqlserver.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/gdbs-in-sql-server/upgrade-geodatabase-sqlserver.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The biggest issue may be that you need to upgrade SQL Server to a supported release also.&lt;/P&gt;&lt;P&gt;Part of the issue would be that your ArcMap / Server are still on an unsupported version. Here is a compatibility doc:&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/client-geodatabase-compatibility.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/client-geodatabase-compatibility.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hard to say 100% that nothing would change. But moving that many versions, it is possible that something happens.&lt;BR /&gt;&lt;BR /&gt;My suggestion: Make sure you are on a supported SQL Server release. Take a backup and restore to a development environment and then run the upgrade process to become familiar with it. Once you have that completed, schedule a maintenance window, take a verified backup, then upgrade and see if you have any issues.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 14:17:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252334#M44386</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-01-27T14:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252339#M44387</link>
      <description>&lt;P&gt;Alright sounds good. Thanks for the links and for all your help. I will get to work on doing this. As is probably obvious, it's long been overdue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 14:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252339#M44387</guid>
      <dc:creator>daniel__j</dc:creator>
      <dc:date>2023-01-27T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252517#M44392</link>
      <description>&lt;P&gt;Be sure to document your steps and take verified backups before everything!&lt;BR /&gt;&lt;BR /&gt;Good luck and let us know how it goes.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 20:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1252517#M44392</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-01-27T20:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1254067#M44401</link>
      <description>&lt;P&gt;So far I have only updated to 10.3.1, but it went well! Of course now I have a follow up question ....&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/data-management-questions/dangers-of-migrating-spatial-storage-types/m-p/1254065#M44400" target="_blank"&gt;https://community.esri.com/t5/data-management-questions/dangers-of-migrating-spatial-storage-types/m-p/1254065#M44400&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 21:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1254067#M44401</guid>
      <dc:creator>daniel__j</dc:creator>
      <dc:date>2023-02-01T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Versioned Views Via SQL Management Studio Fails</title>
      <link>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1254274#M44404</link>
      <description>&lt;P&gt;The following jumps should be easier. I will comment on that question also&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 11:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/updating-versioned-views-via-sql-management-studio/m-p/1254274#M44404</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2023-02-02T11:40:48Z</dc:date>
    </item>
  </channel>
</rss>

