<?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: ArcGIS10 Query layers vs SDE Spatial view in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666827#M37803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Marco.&amp;nbsp; My question was specifically whether an ESRI "Query Layer" can be persisted on the database side to appear as a feature class in a geodatabase.&amp;nbsp;&amp;nbsp; Sounds like the answer is "no".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My feeling is that this would be a case where if the client needs a feature class with all of the joins, filters, aliases, etc. already applied, then you would still need an SDE spatial view.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Aug 2013 19:36:27 GMT</pubDate>
    <dc:creator>DanMcCoy</dc:creator>
    <dc:date>2013-08-27T19:36:27Z</dc:date>
    <item>
      <title>ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666819#M37795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which is quicker, and what are the benefits/pitfalls of using the new Query layers at ArcGIS 10 versus a spatial view created by using the SDETABLE -o Create_view command? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that both are able to display data using SQL from the database (I am using Oracle SDO geom). As far as I can see the difference is that the query layer will execute the SQL statement at every map redraw whilst the SDE spatial view will create a database view and then display off that; surely this will mean that the view will perform quicker?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Niall&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 06:51:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666819#M37795</guid>
      <dc:creator>NiallCarter</dc:creator>
      <dc:date>2011-05-25T06:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666820#M37796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There may be a few more milliseconds in the first prepare of a SQL query over that of a view,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but the subsequent queries are likely to be cached by the optimizer.&amp;nbsp; Each draw creates a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;query in each representation.&amp;nbsp; You might find that numeric column return results are slightly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;different (more columns will map to 64-bit float).&amp;nbsp; In the end, spatial views exist to join SDELOB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and SDEBINARY storage layers to other tables, while SDO_GEOMETRY and ST_GEOMETRY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;views should be exposed by registration or Query Layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 10:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666820#M37796</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2011-05-25T10:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666821#M37797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An SDE spatial view appears as a feature class in the geodatabase.&amp;nbsp; Is there a way to "register" a Query Layer in the gdb to make it available to 3rd-party apps or other tools that require a feature class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 15:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666821#M37797</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2013-08-26T15:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666822#M37798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By definition, Query Layers are not ArcSDE Feature classes -- they use a different connection protocol.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;While the underlying SQL is similar, the methodology to get there is different.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you really looking for 3rd party apps that acknowledge Query Layers?&amp;nbsp; That's really quite difficult,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;since the developers would need to reverse engineer Esri project or service files to extract the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once you define a view (on a table with a SQL spatial type) with SQL, then you can access it as a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Query Layer or register it and access it as an ArcSDE feature class, You may also dynamically query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; a table with a spatial type using SQL, or via Query Layers, or via the definition query on a registered&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; table. If neither of these options meet your requirements, you'll need to share those requirements&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;before we can answer the question.&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, 26 Aug 2013 18:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666822#M37798</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-26T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666823#M37799</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;BR /&gt;&lt;SPAN&gt;Thanks for the quick follow-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not exactly sure what the requirements might be for third party apps....&amp;nbsp; I was generally speaking (for the purposes of comparing query layers vs spatial views) of cases where some system or process is expecting a feature class in geodatabase rather than a layer in a map service, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just wasn't sure if there was a way of creating a query layer and persisting it in the GDB as a FC....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 20:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666823#M37799</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2013-08-26T20:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666824#M37800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Either can be either, so I still don't understand your goal in asking the question.&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, 26 Aug 2013 21:11:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666824#M37800</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-08-26T21:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666825#M37801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry, if I'm not expressing myself very well.... My goal was just to continue the discussion of Query layers vs SDE Spatial view... comparing &amp;amp; contrasting, pros &amp;amp; cons, etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had seen the following post earlier and it made me wonder about which scenarios you might need a spatial view over a q layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gdbgeek.wordpress.com/2011/03/14/the-spatial-view-is-dead-long-live-query-layers/"&gt;http://gdbgeek.wordpress.com/2011/03/14/the-spatial-view-is-dead-long-live-query-layers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain what you meant by "either can be either"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2013 22:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666825#M37801</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2013-08-26T22:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666826#M37802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I just wasn't sure if there was a way of creating a query layer and persisting it in the GDB as a FC...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan, selections (or queries in database terms) on tables in databases are defined using the SQL language. You define a SQL statement using a number of keywords the database recognizes in one human readable text sentence. E.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT fieldA FROM tableB&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This text string or SQL statement can be either dynamically generated, e.g. each time you pan or zoom in ArcMap, ArcMap generates these queries and sends them off to the database to collect the features in the current data frame's extent, or persisted in some way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Persisting can be done in several ways:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- At the database level. The database stores the SQL statement / query string as a "database view". This option does not involve any ESRI features, you use the standard database tools to define or create them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- At the ArcMap application level. ArcMap stores statements in the MXD document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the statement is persisted at the application level, there are basically two options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Queries that link to ArcSDE / Geodatabase Feature Classes. All of these queries are fully processed via ArcSDE's Direct Connect DLL's on your local PC and "connect / involve" the ArcSDE Repository with it's ArcSDE System Tables and Geodatabase System Tables in the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Queries that link to &lt;/SPAN&gt;&lt;STRONG&gt;non-&lt;/STRONG&gt;&lt;SPAN&gt;ArcSDE spatial type tables (&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;new feature from 10.0 onwards&lt;/SPAN&gt;&lt;SPAN&gt;). *** THESE ARE CALLED "&lt;/SPAN&gt;&lt;STRONG&gt;QUERY LAYERS&lt;/STRONG&gt;&lt;SPAN&gt;" BY ESRI *** All of these are more or less directed straight through ODBC drivers, and don't involve "ArcSDE" in the classic sense (no ArcSDE Repository used, although some ArcSDE components on your local PC are being used in query processing).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing to note, is that a Query Layer can reference two database sources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Plain (spatial) database tables&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Database views of (spatial) tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, while the database view persists a SQL query on the database level, a Query Layer can persist a SQL query referencing a database view (queries can reference queries).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 19:04:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666826#M37802</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-08-27T19:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666827#M37803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Marco.&amp;nbsp; My question was specifically whether an ESRI "Query Layer" can be persisted on the database side to appear as a feature class in a geodatabase.&amp;nbsp;&amp;nbsp; Sounds like the answer is "no".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My feeling is that this would be a case where if the client needs a feature class with all of the joins, filters, aliases, etc. already applied, then you would still need an SDE spatial view.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 19:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666827#M37803</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2013-08-27T19:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666828#M37804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Marco.&amp;nbsp; My question was specifically whether an ESRI "Query Layer" can be persisted on the database side to appear as a feature class in a geodatabase.&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Sounds like the answer is "no".&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan, Query Layers just use &lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt; valid SQL syntax for your database (Oracle, SQL Server etc.). This means that to "persist" the Query Layer, you would simply copy the Query Layer's SQL statement from the ArcMap dialog, and copy it straight into the database dialog involved in database view definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This database view can subsequently be used in another Query Layer using a simpler SQL statement to add / view it straight in ArcMap, or view it being displayed in ArcCatalog. PLEASE NOTE ARCCATALOG WILL DISPLAY THIS &lt;/SPAN&gt;&lt;STRONG&gt;DATABASE VIEW&lt;/STRONG&gt;&lt;SPAN&gt; IMMEDIATELY WITHOUT DEFINING A NEW QUERY LAYER (EVEN SPATIALLY, you can view the geometries)! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it will NOT be part of a &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-style:italic;"&gt;Geo&lt;/SPAN&gt;database&lt;/STRONG&gt;&lt;SPAN&gt;, unless you register it with the geodatabase. You &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;can&lt;/SPAN&gt;&lt;SPAN&gt; however use this database view in any other application (e.g. AutoCAD Map or something) that supports reading database views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. If I had a Query Layer "1" with a SQL statement&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT fieldA FROM tableB WHERE fieldA = 'something'&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can copy this definition in the dialogs for database view definition, e.g. in SQL Server Management Studio, and give it a name, e.g. "MySpatialView", to persist it at database level. &lt;/SPAN&gt;&lt;STRONG&gt;This database view is now usable by any application.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And subsequently create a second spatial Query Layer "2" by dragging and dropping it from ArcCatalog to ArcMap, or defining a simpler query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SELECT * FROM MySpatialView&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This Query Layer will now embody the original selection of 'something'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the answer is basically "Yes"!, unless you mean to suggest the layer should show up in Feature Datasets, and be able to be exhibit advanced Geodatabase behaviour (become part of a Parcel Fabric, Geometric Network, Topology), in which case the answer is "No".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 20:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666828#M37804</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-08-27T20:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666829#M37805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So, just using the same SQL from the Query Layer to create a DB view, then registering it with the GDB would essentially get you the same thing as using sdetable -o create_view?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 23:47:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666829#M37805</guid>
      <dc:creator>DanMcCoy</dc:creator>
      <dc:date>2013-08-27T23:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666830#M37806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So, just using the same SQL from the Query Layer to create a DB view, then registering it with the GDB would essentially get you the same thing as using sdetable -o create_view?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I need to correct myself here a bit. This is all a bit to the limit of what I tested, but if I understand the Help right, you can only register tables, not views, with the geodatabase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This essentially means the spatial view that you create, will remain a stand-alone table / layer, not registered and read-only. So you can't edit it or have it participate in geodatabase behaviour. ArcCatalog and ArcMap &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;are&lt;/SPAN&gt;&lt;SPAN&gt; able to make good use of the data though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an example, as to what is possible and to what I tested, in the images below you see a database view created that joins an ArcSDE Versioned View with a normal database table based on the fields "name" and "morph_type" that have the same content. You preferably need to include an ObjectID as well in the view definition if already available, otherwise ArcCatalog or ArcMap will prompt you for a unique column (combination).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SQL statement for this is shown both in SQL Server Management Studio, and in ArcCatalog. In ArcCatalog you see the resultant layer (just one record actually, a multi-part polygon in this test).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example screenshot here is from ArcGIS 10.2, but Query Layer functionality, and the ability to directly see and use non-geodatabase registered spatial tables in ArcCatalog, was introduced at 10.0.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 11:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666830#M37806</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2013-08-28T11:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS10 Query layers vs SDE Spatial view</title>
      <link>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666831#M37807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was under the impression that I could publish a service using a View. I'm getting a high unresolved error, Code 00021, "Feature selections are not supported." This error code supposedly indicates that I have features selected, which I do not. I'm using ArcMap 10.1 Standard and Server Standard. I've created a view using a large geodatabase and a table. I don't want to join and export them, because they are derived from separate sources, and each will be updated individually. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any advice. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Jeri&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 23:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/arcgis10-query-layers-vs-sde-spatial-view/m-p/666831#M37807</guid>
      <dc:creator>JeriLedbetter</dc:creator>
      <dc:date>2013-12-12T23:55:07Z</dc:date>
    </item>
  </channel>
</rss>

