<?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 Create Spatial view using sdetable -o create_view...error in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436925#M24980</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;SPAN&gt;I working with 10.1 SDE and 2008 R2 SQL server. When I created a spatial view using: sdetable -o create_view -T my_view -t mytable1, mytable2 -c table1.shape, table2.c1 -w mytable1.c3=mytable2.c4&amp;nbsp; -i sde:sqlserver -D SDE -u username -p mypassword&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got two errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Failure to access the DBMS server &amp;lt;-409&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Could not create a connection on server ..., for user...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone tell me what went wrong? and how could i sovle this problerm?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;April.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jan 2013 21:06:22 GMT</pubDate>
    <dc:creator>AprilYang</dc:creator>
    <dc:date>2013-01-25T21:06:22Z</dc:date>
    <item>
      <title>Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436925#M24980</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;SPAN&gt;I working with 10.1 SDE and 2008 R2 SQL server. When I created a spatial view using: sdetable -o create_view -T my_view -t mytable1, mytable2 -c table1.shape, table2.c1 -w mytable1.c3=mytable2.c4&amp;nbsp; -i sde:sqlserver -D SDE -u username -p mypassword&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got two errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Failure to access the DBMS server &amp;lt;-409&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Could not create a connection on server ..., for user...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could someone tell me what went wrong? and how could i sovle this problerm?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;April.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:06:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436925#M24980</guid>
      <dc:creator>AprilYang</dc:creator>
      <dc:date>2013-01-25T21:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436926#M24981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;April,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the connection string is incorrect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-i sde:sqlserver:"instance name"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E.G: sde:sqlserver:server2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (here server2 is the SQL Server instance name)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:40:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436926#M24981</guid>
      <dc:creator>AsrujitSengupta</dc:creator>
      <dc:date>2013-01-25T21:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436927#M24982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;April,&lt;BR /&gt;&lt;BR /&gt;the connection string is incorrect&lt;BR /&gt;&lt;BR /&gt;-i sde:sqlserver:"instance name"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E.G: sde:sqlserver:server2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (here server2 is the SQL Server instance name)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Asrujit,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It worked out very well, thanks for your solution:)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;April.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:53:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436927#M24982</guid>
      <dc:creator>AprilYang</dc:creator>
      <dc:date>2013-01-25T21:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436928#M24983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A related question: What's the difference between the view (including spatial information, like "shape") created using SQL query and the spatial view created by "sdetable -o create_view..." ? since the view created by the second approach could be refined inside SQL after generated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any thoughts.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jan 2013 00:43:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436928#M24983</guid>
      <dc:creator>AprilYang</dc:creator>
      <dc:date>2013-01-26T00:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436929#M24984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you rephrase the question?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'sdetable -o create_view' was designed to be used with SDEBINARY or SDELOB storage, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where it's not possible to use SQL to make a view.&amp;nbsp; Given spatial types, you should always&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use SQL to create views (at a minimum, they allow the full syntax of the SQL language, not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; a stripped-down subset).&amp;nbsp; It's up to the RDBMS' optimizer to dictate differences from there.&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, 26 Jan 2013 15:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436929#M24984</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-01-26T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436930#M24985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Could you rephrase the question?&lt;BR /&gt;&lt;BR /&gt;'sdetable -o create_view' was designed to be used with SDEBINARY or SDELOB storage, &lt;BR /&gt;where it's not possible to use SQL to make a view.&amp;nbsp; Given spatial types, you should always&lt;BR /&gt;use SQL to create views (at a minimum, they allow the full syntax of the SQL language, not&lt;BR /&gt; a stripped-down subset).&amp;nbsp; It's up to the RDBMS' optimizer to dictate differences from there.&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your explanations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understood you correctly, one of the purposes of using 'sdetable -o create_view' is to utilize the SDEBINARY or SDELOB storage, right? What are the benefits of using these storages?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me rephrase my question here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "sdetable -o create_view -T my_view -t mytable1, mytable2 -c table1.shape, table2.c1 -w mytable1.c3=mytable2.c4 -i sde:sqlserver:local -D SDE -u username -p mypassword " would create a inner join between mytable1 and myatable2. If would like to edit this view, e.g.change "inner join" to a "left outer join" , I would open "my_view" in SQL and edit it. Could you do the edition through command line? Will the changes of the view put into the SDELOB storage, if it's done within SQL ? if so how would I check it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Under what kind of situation, the spatial types won't be given? I am confused here, since I only met data given spatial types. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 20:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436930#M24985</guid>
      <dc:creator>AprilYang</dc:creator>
      <dc:date>2013-01-28T20:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create Spatial view using sdetable -o create_view...error</title>
      <link>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436931#M24986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This isn't a "benefits" issue, it's just a "what's possible" one.&amp;nbsp; With SQL-Server, you have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; a choice of SDEBINARY or native GEOMETRY or GEOGRAPHY (the latter only applies to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;coordinates stored in decimal degrees).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Altering views after construction is not supported.&amp;nbsp; It's probably done all the time, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;there's little way to prevent something bad from happening (bad things include returning&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NJULL or duplicate registered rowid (objectid) values, unsupported column types, and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;various other issues that will prevent ArcGIS from accessing the table).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using native geometry is probably best in this situation, but it has quirks, too (most&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;notably, accessor functions which are case-sensitive).&amp;nbsp; As long as the resulting views&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;contain the types supported by ArcGIS, with distinct unique rowids, you can register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the with with ArcGIS.&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, 29 Jan 2013 11:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/create-spatial-view-using-sdetable-o-create-view/m-p/436931#M24986</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-01-29T11:13:44Z</dc:date>
    </item>
  </channel>
</rss>

