<?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: Converting from SDE Views to Regular SQL Views - Any Gotchas? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454718#M25970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, one other problem we had when coming from 9.3 to 10.1 was that we changed from the default LONGRAW storage in Oracle to Geometry in SQL Server.&amp;nbsp; Changing data sources in our AGS mxd's to the new gdb resulted in problems with the shape area and length fields.&amp;nbsp; ArcMap did not properly interpret the change in fields, and the publisher/analyzer did not catch the problem, which resulted in AGS map service errors.&amp;nbsp; I'm not sure if any of the newer builds have caught this though.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 18:22:38 GMT</pubDate>
    <dc:creator>NateArnold</dc:creator>
    <dc:date>2014-03-11T18:22:38Z</dc:date>
    <item>
      <title>Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454710#M25962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are upgrading from SQL 2008 / ArcSDE 10.0 to SQL 2012 / ArcSDE 10.1.&amp;nbsp; Since we are moving to a new server at the same time I'd like to recreate the SDE Views as SQL Views. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any gotchas I need to look out for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For MXDs can we simply change the SDE database through the ArcCatalog Set Data Sources function?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 20:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454710#M25962</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-02-21T20:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454711#M25963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no difference between an "SDE view" (which never really existed, anyway) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and an "SQL view".&amp;nbsp; A view is a view -- It's always been a database object, created&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and managed by the database.&amp;nbsp; If there was any difference, it was in the creation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;process -- back before databases supported geometry extensions, the 'create_view' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;operation had to&amp;nbsp; populate metadata and create extra views to support the F and S&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tables.&amp;nbsp; The result was still a SQL view.&amp;nbsp; Modern best practice is to use SQL to create&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;views (keeping in mind ArcGIS requirements), and register the views afterwards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but this has been best practice since the 'sdelayer -o register' option was added &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;back in 8.x days.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 21:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454711#M25963</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-02-21T21:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454712#M25964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually there are performance implications of native views over SDE created views, see these links;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gdbgeek.wordpress.com/2014/01/15/feature-class-vs-query-layer-vs-spatial-view/"&gt;http://gdbgeek.wordpress.com/2014/01/15/feature-class-vs-query-layer-vs-spatial-view/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://gdbgeek.wordpress.com/2014/02/11/feature-class-vs-query-layer-vs-spatial-view-again/"&gt;http://gdbgeek.wordpress.com/2014/02/11/feature-class-vs-query-layer-vs-spatial-view-again/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 21:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454712#M25964</guid>
      <dc:creator>TrevorHart1</dc:creator>
      <dc:date>2014-03-10T21:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454713#M25965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately, you've conflated the concept of spatial views and Query Layers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when they are in fact orthagonal.&amp;nbsp; ArcSDE registered tables *and* views are&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;faster than Query Layers on the *same* tables/views because the layer metadata&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;allows for more efficient use.&amp;nbsp; This has nothing to do with the methodology of&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;how the table or view is registered with the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcSDE has supported registration of tables and views since it supported native&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and/or ST_GEOMETRY types in each database.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 23:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454713#M25965</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-10T23:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454714#M25966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another point is, is that by design, hitting the ArcCatalog Preview button, retrieves the entire dataset, as it defaults to full extent. So it will take a long time whatever way the data in the RDBMS is registered or stored if the accessed dataset is large or the defined SQL query to access it complex. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also remains unclear in the posts if the faster response times accessing Query Layers when adding the data through the Add Data button &lt;/SPAN&gt;&lt;A href="http://gdbgeek.wordpress.com/2014/02/11/feature-class-vs-query-layer-vs-spatial-view-again/"&gt;as per this link&lt;/A&gt;&lt;SPAN&gt;, isn't caused by simply selecting "Use Spatial Reference extent" as the default extent for guessing a suitable extent for a layer that isn't registered with ArcSDE nor the Geodatabase, which would circumvent the need to plough through the table to calculate an extent on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also wonder at what stage some sort of caching on the local machine might play a role when accessing any of these layers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 06:27:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454714#M25966</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-11T06:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454715#M25967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From an end user perspective, I think ESRI has done a terrible job of clarifying differences between spatial views and query layers:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;When you use SSMS to make a "view that includes a spatial column", why would it not be interpreted as a "spatial view" (confusion in terms)?&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;When the CreateDatabaseView_management tool was introduced, why would an end user not think "I can use this tool to make a spatial view", when it actually gets interpreted in ArcGIS as a query layer?&amp;nbsp; &lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Why can views created using SSMS or CreateDatabaseView_management not be registered with the GDB (and hence store feature type, extents, description/metadata, etc.)? &lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.1+ has seen much of the command line tools become GP/GUI tasks, but creating actual &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;spatial views&lt;/SPAN&gt;&lt;SPAN&gt; is one are where ESRI needs to focus.&amp;nbsp; Since there is indeed a speed difference between spatial views and query layers, but views are much easier to manage using SSMS, our approach has been to make a "dummy" spatial view using command line, then modify the view definition in SSMS.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've also seen a speed difference between spatial views built on feature classes stored in the default Geometry spatial type (slower) versus SDEBINARY (faster).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 14:26:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454715#M25967</guid>
      <dc:creator>NateArnold</dc:creator>
      <dc:date>2014-03-11T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454716#M25968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;When you use SSMS to make a "view that includes a spatial column", why would it not be interpreted as a "spatial view" (confusion in terms)?&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It certainly is a spatial view, just not a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;registered&lt;/SPAN&gt;&lt;SPAN&gt; spatial view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;When the CreateDatabaseView_management tool was introduced, why would an end user not think "I can use this tool to make a spatial view", when it actually gets interpreted in ArcGIS as a query layer?&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It does create a spatial view, but not a &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;registered&lt;/SPAN&gt;&lt;SPAN&gt; spatial view (and is documented as such --&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bullet #3 &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Views created in enterprise geodatabases using this tool are not registered with &lt;BR /&gt;the geodatabase&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;Why can views created using SSMS or CreateDatabaseView_management not be registered with the GDB (and hence store feature type, extents, description/metadata, etc.)?&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;They certainly &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;can&lt;/SPAN&gt;&lt;SPAN&gt; be registered with an enterprise geodatabase, if you a) have an enterprise &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;geodatabase, and b) choose to do so. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;ArcGIS 10.1+ has seen much of the command line tools become GP/GUI tasks, but creating actual &lt;SPAN style="text-decoration:underline;"&gt;spatial views&lt;/SPAN&gt; is one are where ESRI needs to focus.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I would say the next focus should be on &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;registering&lt;/SPAN&gt;&lt;SPAN&gt; views, not creating them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;Since there is indeed a speed difference between spatial views and query layers,&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Wait right there -- &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;This&lt;/SPAN&gt;&lt;SPAN&gt; is the key misunderstanding.&amp;nbsp; Query Layers are a way of accessing &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;spatial databases &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;without&lt;/SPAN&gt;&lt;SPAN&gt; ArcSDE.&amp;nbsp; There is&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt; no &lt;/SPAN&gt;&lt;SPAN&gt;correlation between views and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query Layers, other than that they need to be spatial to be rendered.&amp;nbsp; You can, in fact,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access a table &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;or&lt;/SPAN&gt;&lt;SPAN&gt; view as a Query Layer, even if it has been registered with an enterprise&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; geodatabase (ArcSDE).&amp;nbsp; You &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;cannot&lt;/SPAN&gt;&lt;SPAN&gt; use ArcSDE tools against a table or view which hasn't &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;been registered.&amp;nbsp; The fact Query Layers behave differently due to a lack of metadata has &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nothing to do with whether a view is involved, and everything to do with the lack of metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yet only ArcSDE provides that metadata.&amp;nbsp; I see no way for Esri to address performance issues &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that can only be managed by the optimizer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;but views are much easier to manage using SSMS, our approach has been to make a "dummy" spatial view using command line, then modify the view definition in SSMS.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Best practice is to define the views in the database, then register them, not the reverse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;We've also seen a speed difference between spatial views built on feature classes stored in the default Geometry spatial type (slower) versus SDEBINARY (faster).&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not just spatial views, it's all tables which involve GEOMETRY/GEOGRAPHY objects, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but these are an aspect of Microsoft's database implementation (and the difficulty of &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tuning it), not anything Esri has control over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 15:27:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454716#M25968</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-11T15:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454717#M25969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;They certainly &lt;SPAN style="font-style:italic;"&gt;can&lt;/SPAN&gt; be registered with an enterprise geodatabase, if you a) have an enterprise &lt;BR /&gt;geodatabase, and b) choose to do so. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please explain how to do this.&amp;nbsp; I've created a view using CreateDatabaseView_management, in a SQL Server gdb, using an owner account, on a feature class owned by that account.&amp;nbsp; After creating the view, right-click context menu --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Regsiter with geodatabase&lt;/SPAN&gt;&lt;SPAN&gt; is greyed out.&amp;nbsp; When I run RegisterWithGeodatabase_management against it, I receive &lt;/SPAN&gt;&lt;STRONG&gt;ERROR 001399: Views are not supported&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt; Query Layers are a way of accessing spatial databases without ArcSDE..&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an interesting point.&amp;nbsp; True, CreateDatabaseView_management can be used for non-spatial table views too, but if it's used against feature classes &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;that are already in ArcSDE&lt;/SPAN&gt;&lt;SPAN&gt;, I think the tooling should be able to take advantage of registering the view instead of leaving it as a query layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;It's not just spatial views, it's all tables which involve GEOMETRY/GEOGRAPHY objects, but these are an aspect of Microsoft's database implementation (and the difficulty of tuning it), not anything Esri has control over.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's fine, just as an FYI to the original poster.&amp;nbsp; We found for best performance &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;with our data&lt;/SPAN&gt;&lt;SPAN&gt;, load datasets into ArcSDE with the SDEBINARY keyword, then build the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;registered&lt;/SPAN&gt;&lt;SPAN&gt; spatial view with command line tools.&amp;nbsp; Of course, you should try it with one of the other storage types and compare &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 18:02:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454717#M25969</guid>
      <dc:creator>NateArnold</dc:creator>
      <dc:date>2014-03-11T18:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454718#M25970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, one other problem we had when coming from 9.3 to 10.1 was that we changed from the default LONGRAW storage in Oracle to Geometry in SQL Server.&amp;nbsp; Changing data sources in our AGS mxd's to the new gdb resulted in problems with the shape area and length fields.&amp;nbsp; ArcMap did not properly interpret the change in fields, and the publisher/analyzer did not catch the problem, which resulted in AGS map service errors.&amp;nbsp; I'm not sure if any of the newer builds have caught this though.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 18:22:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454718#M25970</guid>
      <dc:creator>NateArnold</dc:creator>
      <dc:date>2014-03-11T18:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454719#M25971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;I would say the next focus should be on &lt;SPAN style="font-style:italic;"&gt;registering&lt;/SPAN&gt; views, not creating them.&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Agree&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Wait right there -- &lt;SPAN style="font-style:italic;"&gt;This&lt;/SPAN&gt; is the key misunderstanding.&amp;nbsp; Query Layers are a way of accessing &lt;BR /&gt;spatial databases &lt;SPAN style="font-style:italic;"&gt;without&lt;/SPAN&gt; ArcSDE.&amp;nbsp; There is&lt;SPAN style="font-style:italic;"&gt; no &lt;/SPAN&gt;correlation between views and&lt;BR /&gt;Query Layers, other than that they need to be spatial to be rendered.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is better to describe the difference between a Query Layer and a Database (Spatial) View as the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Database Views are Views defined by a SQL expression &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;that are &lt;SPAN style="text-decoration:underline;"&gt;stored in&lt;/SPAN&gt;, and &lt;SPAN style="text-decoration:underline;"&gt;managed by&lt;/SPAN&gt;, the RDBMS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;. A database view thus is persisted at the RDBMS level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Query Layers are "somewhat" similar to Views, as being defined by a SQL expression, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;but only exist within the context of an ArcMap session&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;. They are persisted at the ArcGIS for Desktop application level, within an ArcMap session/document. Query Layers &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;do a lot more&lt;/STRONG&gt;&lt;SPAN&gt; though than storing a SQL expression, they inherit all the properties of normal layers like &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;legend symbology, labeling, min / max display scale&lt;/SPAN&gt;&lt;SPAN&gt; and so on. Like normal layers, you can save them as a *.lyr file outside ArcMap, on any drive you have available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In essence, a Query Layer is a "view-on-a-view", &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;or maybe I should better say a "&lt;STRONG&gt;"&lt;/STRONG&gt;view&lt;STRONG&gt;"&lt;/STRONG&gt;-&lt;STRONG&gt;of&lt;/STRONG&gt;-a-view"&lt;/SPAN&gt;&lt;SPAN&gt; (since it defines symbology and display too), just like you can create views based on views (queries based on queries) in a database / RDBMS. But remember: a Query Layer does a lot more in the context of ArcMap, as per the layer settings described above...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;They certainly &lt;SPAN style="font-style:italic;"&gt;can&lt;/SPAN&gt; be registered with an enterprise geodatabase, if you a) have an enterprise &lt;BR /&gt;geodatabase, and b) choose to do so.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vince, you are ignoring an important distinction here that may help in making it more understandable for others, see also the quote below from &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/geodatabase/10.0/admin_cmds/support_files/datamgmt/sdelayer.htm"&gt;this sdelayer command page&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;BR /&gt;"Note: &lt;STRONG&gt;ArcSDE commands &lt;SPAN style="text-decoration:underline;"&gt;do not&lt;/SPAN&gt; interact with the geodatabase system tables&lt;/STRONG&gt;. Therefore, if your layer is registered with the geodatabase and participates in geodatabase functionality, such as networks or topology, do not use the sdelayer command to administer the feature class. Instead, use the ArcGIS tools and wizards."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;In essence, there are 3 registration levels on top of each other.&lt;/STRONG&gt;&lt;SPAN&gt; Depending on which option you use, a spatial layer will be "known" and useable within a certain context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) - Registering a a database view or table &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;in the native database / RDBMs system tables only&lt;/STRONG&gt;&lt;SPAN&gt;. This is by defining the database view through either the RDBMS's tools like SQL Server Management Studio, &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;or(!)&lt;/STRONG&gt;&lt;SPAN&gt; creating the view using the &lt;/SPAN&gt;&lt;STRONG&gt;CreateDatabaseView_management&lt;/STRONG&gt;&lt;SPAN&gt; geoprocessing tool. Data registered as such can be used and accessed as Query Layer &lt;/SPAN&gt;&lt;STRONG&gt;only&lt;/STRONG&gt;&lt;SPAN&gt;, and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;not&lt;/SPAN&gt;&lt;SPAN&gt; participate within a geodatabase and its functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) - Registering (a possibly predefined) database view or table &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;in the ArcSDE System Tables only&lt;/STRONG&gt;&lt;SPAN&gt; that form part of the ArcSDE Repository using the ArcSDE Command Line Tools like sdelayer (&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;This option will no longer be possible once the ArcSDE Command Line Tools are retired, &lt;STRONG&gt;unless&lt;/STRONG&gt; ESRI comes up with a replacement, as Vince also pointed out in the first quote I included above&lt;/SPAN&gt;&lt;SPAN&gt;). Data registered like this is recognized "more or less" as "normal" Feature Classes, in the sense of showing proper icon (Point, Line, Polygon), but still can &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; participate in all advanced geodatabase behaviour, as it isn't registered with the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;This option registers data in the following tables:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;TABLE_REGISTRY&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_table_registry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;COLUMN_REGISTRY&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_column_registry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;LAYERS&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_layers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;GEOMETRY_COLUMNS&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_geometry_columns)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) - Registering a database &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;table&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;in the ArcSDE System Tables AND(!) in the Geodatabase System Tables&lt;/STRONG&gt;&lt;SPAN&gt; that form part of the ArcSDE Repository by using the &lt;/SPAN&gt;&lt;STRONG&gt;Register with Geodatabase menu option&lt;/STRONG&gt;&lt;SPAN&gt; within ArcCatalog. This option gives you the full geodatabase functionality, including the ability for the data to participate in advanced geodatabase behaviour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;This option is not available for database views (see remark Vince below also)&lt;/SPAN&gt;&lt;SPAN&gt;, because the data need to be editable to add crucial fields like ObjectID and other geodatabase maintained fields that form part of geodatabase Feature Classes, something which can not (generally) be done with views, e.g. some view types may be non editable at all, like those summarizing data by grouping. Therefore registering with the geodatabase may &lt;/SPAN&gt;&lt;STRONG&gt;not&lt;/STRONG&gt;&lt;SPAN&gt; be available for all data sources.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;This option registers data in the following tables:&lt;/SPAN&gt;&lt;SPAN&gt; (see also this Help page: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Registering_a_table_with_the_geodatabase/003n000000qz000000/"&gt;Registering a table with the geodatabase&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GDB_ITEMS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GDB_ITEMRELATIONSHIPS&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;*** and also(!): ***&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;TABLE_REGISTRY&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_table_registry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;COLUMN_REGISTRY&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_column_registry)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;LAYERS&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_layers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;GEOMETRY_COLUMNS&lt;/STRONG&gt;&lt;SPAN&gt; (or sde_geometry_columns)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Only registering with options 2) or 3) will cause the crucial metadata to be stored in the ArcSDE System Tables, and hence &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;the proper icon (Point, Line, Polygon)&lt;/SPAN&gt;&lt;SPAN&gt; being shown immediately in ArcCatalog, and the ObjectID and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;spatial extent&lt;/SPAN&gt;&lt;SPAN&gt; of the dataset being "known".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that for layers registered with all three options (1,2,3), &lt;/SPAN&gt;&lt;STRONG&gt;all layers can also be accessed as Query Layers&lt;/STRONG&gt;&lt;SPAN&gt;, but the functionality will be curtailed compared to accessing a layer registered with option 3) and accessed as a normal Feature Class. &lt;/SPAN&gt;&lt;STRONG&gt;Query Layers offer less functionality than geodatabase Feature Classes.&lt;/STRONG&gt;&lt;SPAN&gt; A list of the functionality available is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/ArcGIS_functionality_available_for_database_tables_that_are_not_registered_with_the_geodatabase/003n000000qw000000/"&gt;ArcGIS functionality available for database tables that are not registered with the geodatabase&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 19:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454719#M25971</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-11T19:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454720#M25972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The 'sdelayer -o register' command is used to register tables or views in &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;native storage&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;(or ST_GEOMETRY, where available) with ArcSDE (note that views cannot be registered with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;geodatabase&lt;/SPAN&gt;&lt;SPAN&gt;, just with ArcSDE, which is what that message means).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
C:\&amp;gt;sdelayer -o register

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Table name and spatial column must be specified.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: Entity Type Mask must be specified.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error: A geometry storage type must be specified (-t).
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Valid types are ST_GEOMETRY, SDO_GEOMETRY.

ArcSDE 10.2
Layer&amp;nbsp;&amp;nbsp;&amp;nbsp; Administration Utility
-----------------------------------------------------
sdelayer -o register -l &amp;lt;table,column&amp;gt; -e &amp;lt;entity_mask&amp;gt; -t &amp;lt;storage_type&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Spatial_Index] [{-R &amp;lt;SRID&amp;gt; | [Spatial_Ref_Opts]}]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-C &amp;lt;row_id_column&amp;gt;[,{SDE|USER}[,&amp;lt;min_ID&amp;gt;]]]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-E {empty | xmin,ymin,xmax,ymax}][-P {BASIC | HIGH}]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-S &amp;lt;layer_description_str&amp;gt;] [-q]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-k &amp;lt;config_keyword&amp;gt;] [-i &amp;lt;service&amp;gt;] [-s &amp;lt;server_name]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-u &amp;lt;DB_User_name&amp;gt;] [-p &amp;lt;DB_User_password&amp;gt;] [-D &amp;lt;database&amp;gt;]
Where
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Spatial_Ref_Opts] := [-x &amp;lt;xoffset,yoffset,xyscale[,xyClusterTol]&amp;gt;]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-z &amp;lt;zoffset,zscale[,zClusterTol]&amp;gt;]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-m &amp;lt;moffset,mscale[,mClusterTol]&amp;gt;]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [-G {&amp;lt;projection_ID&amp;gt; | file=&amp;lt;proj_file_name&amp;gt;}]

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Spatial_Index]&amp;nbsp;&amp;nbsp;&amp;nbsp; := [-g {&amp;lt;Grid_Options&amp;gt; |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GRID,&amp;lt;Grid_Options&amp;gt; |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AUTOMATIC |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NONE |
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTREE}]

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Grid_Options]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; := [&amp;lt;grid_sz0&amp;gt;[,&amp;lt;grid_sz1&amp;gt;[,&amp;lt;grid_sz2&amp;gt;]]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [,{FULL | SPARSE}]]
sdelayer -h
sdelayer -?
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You must specify an appropriate coordinate reference (including a HIGH precision), include &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a USER-set rowid column (from the existing table/view, that conforms with NOT NULL unique &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;integer), and specify a single topology class in the entity mask (ArcGIS requirement).&amp;nbsp; The &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;registration must be performed by the table/view owner.&amp;nbsp; If the object is a view, then you &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should make sure its characteristics match that of the source table ('sdelayer -o describe_long').&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:17:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454720#M25972</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2021-12-11T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454721#M25973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marco, I would not classify a Query Layer as a "view" at all.&amp;nbsp; It is QUERY.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A query is an expression which retrieves data from tables.&amp;nbsp; A view is a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;database object that stores an SQL query in such a way to reduce the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;overhead of parsing the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Query Layer stores the query and rendering rules against either a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;or&lt;/SPAN&gt;&lt;SPAN&gt; a view, and reapplies that query each time it needs to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(including at maximum extent, at which point it might not be the most &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;efficient way to query).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One solution to slow spatial-first queries would be to create two scale-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dependent layers, one whose query forces the database to use a full &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;table scan, and one that lets the spatial index operate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 19:52:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454721#M25973</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-11T19:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454722#M25974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Marco, I would not classify a Query Layer as a "view" at all.&amp;nbsp; It is QUERY.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;A query is an expression which retrieves data from tables.&amp;nbsp; A view is a &lt;BR /&gt;database object that stores an SQL query in such a way to reduce the&lt;BR /&gt;overhead of parsing the query.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;The Query Layer stores the query and rendering rules against either a&lt;BR /&gt;table or a view, and reapplies that query each time it needs to &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that addition that clarifies it further. I already put the "view" notion of the Query Layer in quotes, and tried to emphasize the rendering aspect of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;(note that views cannot be registered with&lt;BR /&gt;the &lt;SPAN style="font-style:italic;"&gt;geodatabase&lt;/SPAN&gt;, just with ArcSDE, which is what that message means).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Made some changes to accommodate that. Going to log out now...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454722#M25974</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-11T20:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454723#M25975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;BR /&gt;It's not just spatial views, it's all tables which involve GEOMETRY/GEOGRAPHY objects, &lt;BR /&gt;but these are an aspect of Microsoft's database implementation (and the difficulty of &lt;BR /&gt;tuning it), not anything Esri has control over.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed the horrible responce for Geometry verses SDEBindary.&amp;nbsp; Has ESRI said how long SDEBindary will continue to be a storage option?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a known bug NIM089293 from a year ago dealing with the draw time for the GEOMETRY spatial type verses the draw time for SDEBINARY.&amp;nbsp; Unfortunately, it's severity is "low."&amp;nbsp; In my experience that usually means it's not going to be fixed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 22:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454723#M25975</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-03-11T22:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454724#M25976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What could Esri possibly do about this issue?&amp;nbsp; Stage a coup? -V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 00:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454724#M25976</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-12T00:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454725#M25977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've noticed the horrible response for Geometry verses SDEBinary.&amp;nbsp; Has ESRI said how long SDEBinary will continue to be a storage option?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A more interesting question is if there are technical reasons why SDEBINARY could no longer be supported in the future in SQL Server. In case of Oracle, the LONGRAW field type that stored SDEBINARY was deprecated by Oracle, so that set a clear endpoint. The more interesting (naive) question is therefore if the field type used by SDEBINARY in SQL Server, is set to go away.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Part of that answer lies probably in the below quote from &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002q0000006m000000"&gt;this Help page&lt;/A&gt;&lt;SPAN&gt; and additionally, see &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002q00000070000000"&gt;this one&lt;/A&gt;&lt;SPAN&gt; for more explanation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;"In ArcGIS 9.3 and lower releases, ArcSDE Compressed Binary storage in SQL Server is stored as an &lt;STRONG&gt;image data type&lt;/STRONG&gt;. New data created using ArcSDE Compressed Binary storage in SQL Server at ArcGIS 10 and later releases &lt;STRONG&gt;is stored as a varbinary(max) data type&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;varbinary&lt;/STRONG&gt;&lt;SPAN&gt; is explained here in Microsoft Technet pages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://technet.microsoft.com/en-us/library/ms188362.aspx"&gt;binary and varbinary (Transact-SQL)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This datatype was one of the data types that is replacing &lt;/SPAN&gt;&lt;STRONG&gt;ntext&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;STRONG&gt;image&lt;/STRONG&gt;&lt;SPAN&gt; data types set for deprecation, see this page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://technet.microsoft.com/en-us/library/ms187993.aspx"&gt;ntext, text, and image (Transact-SQL)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As can been seen from the quote above, &lt;/SPAN&gt;&lt;STRONG&gt;image&lt;/STRONG&gt;&lt;SPAN&gt; was the field type ESRI used for storing SDEBINARY at ArcGIS 9.3.x and below. So ESRI already anticipated and accommodated the deprecation of this datatype by Microsoft by switching to &lt;/SPAN&gt;&lt;STRONG&gt;varbinary(max)&lt;/STRONG&gt;&lt;SPAN&gt; at 10.0, so technically the option for storing SDEBINARY doesn't seem to be going anywhere soon...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course, the main reason ESRI has been pushing for a shift to "native" Geometry storage or ST_Geometry, is the better accessibility by third party (CAD) software to the data, and the abilities to easily define views etc. on the RDBMS side including spatial data (&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;no separation of geometries and attributes in different tables - feature and business - for a single Feature Class, no "inaccessible" Compressed Binary storage&lt;/SPAN&gt;&lt;SPAN&gt;). Another more technical reason may lie in this latter remark, as maintaining the referential integrity between feature and business table is more challenging (&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002q00000070000000"&gt;see this Help page&lt;/A&gt; and the remarks about the triggers set to manage this&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But of course, if your business / organizational workflow won't involve anything other than ESRI software accessing geodatabases, than these advantages are mute...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;STRONG&gt;There is a known bug NIM089293 from a year ago dealing with the draw time for the GEOMETRY spatial type verses the draw time for SDEBINARY. &lt;/STRONG&gt; Unfortunately, it's severity is "low."&amp;nbsp; In my experience that usually means it's not going to be fixed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This issue should probably not have been logged as a "known bug" at ESRI, as, as Vince explained already, this is not an issue ESRI is responsible for, but Microsoft. If it should be logged as a bug (&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;which is already disputable since true bugs are generally code errors, not performance issues which would more realistically classify as "enhancement requests"&lt;/SPAN&gt;&lt;SPAN&gt;), it should be logged at Microsoft.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 07:10:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454725#M25977</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-03-12T07:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454726#M25978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What could Esri possibly do about this issue?&amp;nbsp; Stage a coup? -V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, but I'm not the one who classified it as a bug it was ESRI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But why has ESRI made Geometry the default storage format at ArcSDE 10.1 pushing users towards the slower performing Microsoft spatial datatype in the first place?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd still like to know what ESRI's plan is with SDEBinary.&amp;nbsp; If it's going to be around for the next 3 years I'll stick with it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 15:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454726#M25978</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-03-12T15:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454727#M25979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;But why has ESRI made Geometry the default storage format at ArcSDE 10.1&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Interoperability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not always slower -- the hellish B/S/F table join should be much slower than &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;native search; it's just that Microsoft's spatial index algorithm needs work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no knowledge of Esri plans, yet I seriously doubt SDEBINARY will last another&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;three years.&amp;nbsp; &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, 12 Mar 2014 16:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454727#M25979</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2014-03-12T16:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454728#M25980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The 'sdelayer -o register' command is used to register tables or views in &lt;STRONG style="font-style: italic;"&gt;native storage&lt;/STRONG&gt;&lt;BR /&gt;(or ST_GEOMETRY, where available) with ArcSDE &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for that.&amp;nbsp; Bummer more command line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 14:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454728#M25980</guid>
      <dc:creator>NateArnold</dc:creator>
      <dc:date>2014-03-13T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Converting from SDE Views to Regular SQL Views - Any Gotchas?</title>
      <link>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454729#M25981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've come to be pretty dependent on both Geometry and Geography storage types, given that I can do significantly more automated data management and processing with them both. Knowing that I'm taking a performance hit by using them, there are a lot of tuning options available, which I've managed to get Geography performing as well, if not faster in some cases, than binary. The biggest gain comes from tweaking the &lt;A _jive_internal="true" href="https://community.esri.com/blogs/HackingArcSDE/2015/07/07/witch-magic-snake-oil-medicine-and-spatial-index-tuning" target="_blank"&gt;spatial index&lt;/A&gt;​, but there are other gains from adding other non-clustered indexes and or statistics based on specific use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for view performance, one can force indexes on a view at creation with schemabinding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;CREATE VIEW [dbo].[ELKOFFTAKE_VIEW_LOCATIONS]
WITH SCHEMABINDING
AS
SELECT 
OBJECTID, VERROR, MAPSOURCE, SOURCEDATE, EDITDATE, MAPMETHOD, 
QUADNAME, UNITNAME, HERROR, COUNTY, STATE, X_COORD, Y_COORD, LAT, LON, 
WATERSHED, STREAMNAME, ELEVATION, YR, NOTES, COORD_UNITS, COORD_SYSTEM, 
DATUM, UTM_ZONE, MANAGEMENTZONE, PARKDISTRICT, EDITBY, CREATEBY, CREATEDATE, 
UNITCODE, RESTRICTION, VEG_CLASS, LANDFORM, GlobalID AS 'LOC_ID', LOC_NAME,&amp;nbsp; TRAIL, ROAD, VALID_RESULT
FROM [dbo].[WILD_ELK_OFFTAKE_LOC_PT]
GO&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then &lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;CREATE UNIQUE CLUSTERED INDEX IDX_&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;WILD_ELK_OFFTAKE_LOC_PT&lt;/SPAN&gt; 
&amp;nbsp; ON &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;ELKOFFTAKE_VIEW_LOCATIONS&lt;/SPAN&gt; (&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;LOC_ID&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/converting-from-sde-views-to-regular-sql-views-any/m-p/454729#M25981</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2021-12-11T20:17:06Z</dc:date>
    </item>
  </channel>
</rss>

