<?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 access a MS SQL 2008 multiversion view from a remote database in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-access-a-ms-sql-2008-multiversion-view-from/m-p/617937#M34902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In answer to my own question, I've created the following 'hack':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I created my own copy of the 'set_current_version' stored procedure.&amp;nbsp; My 'force_set_current_version' stored procedure removes the owner and protected checks that exist in the original.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Grant the Public role the Execute permission on the 'force_set_current_version' stored procedure. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The 'force_set_current_version' is then put into a logon trigger so that it is called whenever someone connects to the ArcSDE database.&amp;nbsp;&amp;nbsp; I specify the version to use in the logon trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Grant my users the Select permission on the multiversion views.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 01:04:34 GMT</pubDate>
    <dc:creator>DionLiddell</dc:creator>
    <dc:date>2010-09-02T01:04:34Z</dc:date>
    <item>
      <title>How to access a MS SQL 2008 multiversion view from a remote database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-access-a-ms-sql-2008-multiversion-view-from/m-p/617936#M34901</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 can create a multiversion view and then use 'set_current_version' to change to the version that I require.&amp;nbsp; And this is all good if I am accessing ArcSDE programmatically or through the interface presented to me by SQL 2008 Manager.&amp;nbsp; But how can I set up a view that can be accessed via a remote connection such as through a 'linked table' in Microsoft Access?&amp;nbsp;&amp;nbsp; I need to be able to serve the view in a standard (think ODBC connection) way to the client that will be using the view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the set_current_version stored procedure must be executed before the correct version can be seen in the multiversion view, it appears to be difficult to present the view as an easy-to-use ODBC connection that can be consumed by a remote client.&amp;nbsp;&amp;nbsp; Any help on how to get around this problem would be very much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dion Liddell.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 09:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-access-a-ms-sql-2008-multiversion-view-from/m-p/617936#M34901</guid>
      <dc:creator>DionLiddell</dc:creator>
      <dc:date>2010-08-30T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a MS SQL 2008 multiversion view from a remote database</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-access-a-ms-sql-2008-multiversion-view-from/m-p/617937#M34902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In answer to my own question, I've created the following 'hack':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I created my own copy of the 'set_current_version' stored procedure.&amp;nbsp; My 'force_set_current_version' stored procedure removes the owner and protected checks that exist in the original.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Grant the Public role the Execute permission on the 'force_set_current_version' stored procedure. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The 'force_set_current_version' is then put into a logon trigger so that it is called whenever someone connects to the ArcSDE database.&amp;nbsp;&amp;nbsp; I specify the version to use in the logon trigger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Grant my users the Select permission on the multiversion views.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 01:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-access-a-ms-sql-2008-multiversion-view-from/m-p/617937#M34902</guid>
      <dc:creator>DionLiddell</dc:creator>
      <dc:date>2010-09-02T01:04:34Z</dc:date>
    </item>
  </channel>
</rss>

