<?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: Re-Order Fields in an SDE Geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69076#M3980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yikes! I never knew something so simple could be so complicated. I wonder why it is so easy to do with in MS Access and Excel. Microsoft must have a secret they are not sharing. Thanks for the reply. We will stick with what we got. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Short answer: No.&lt;BR /&gt; &lt;BR /&gt;Essay form: ArcSDE isn't a database, it's an interface to databases. The only &lt;BR /&gt;way to change table column order with the ArcSDE API is to export in the desired &lt;BR /&gt;order and create a new table with the result.&amp;nbsp; If, as in your example, you can &lt;BR /&gt;coax the database to reorder the columns, then ArcSDE will present them in that&lt;BR /&gt;order, but a brief web search indicates that &lt;A href="http://databases.aspfaq.com/general/how-do-i-change-column-order-in-a-table-structure.html"&gt;SQL-Server&lt;/A&gt;, &lt;A href="http://wiki.postgresql.org/wiki/Alter_column_position"&gt;PostgreSQL&lt;/A&gt; and &lt;A href="http://forums.oracle.com/forums/thread.jspa?threadID=379860"&gt;Oracle &lt;/A&gt;&lt;BR /&gt;do not permit this as a trivial operation.&amp;nbsp; Many of the referenced links recommend&lt;BR /&gt;using a view, which will work, but ArcGIS puts limits on geodatabase participation&lt;BR /&gt;by views.&amp;nbsp; If you're going to have to reload the table anyway, consider doing some&lt;BR /&gt;row-order optimization as well, by exporting in spatial index order.&lt;BR /&gt; &lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jun 2010 17:22:02 GMT</pubDate>
    <dc:creator>TimHayes</dc:creator>
    <dc:date>2010-06-25T17:22:02Z</dc:date>
    <item>
      <title>Re-Order Fields in an SDE Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69074#M3978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to do this in 9.3.1? I have done this in MS Access with a Personal Geodatabase.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 15:38:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69074#M3978</guid>
      <dc:creator>TimHayes</dc:creator>
      <dc:date>2010-06-25T15:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Order Fields in an SDE Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69075#M3979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Short answer: No.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Essay form: ArcSDE isn't a database, it's an interface to databases. The only &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;way to change table column order with the ArcSDE API is to export in the desired &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order and create a new table with the result.&amp;nbsp; If, as in your example, you can &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;coax the database to reorder the columns, then ArcSDE will present them in that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;order, but a brief web search indicates that &lt;/SPAN&gt;&lt;A href="http://databases.aspfaq.com/general/how-do-i-change-column-order-in-a-table-structure.html"&gt;SQL-Server&lt;/A&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;A href="http://wiki.postgresql.org/wiki/Alter_column_position"&gt;PostgreSQL&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://forums.oracle.com/forums/thread.jspa?threadID=379860"&gt;Oracle &lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;do not permit this as a trivial operation.&amp;nbsp; Many of the referenced links recommend&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using a view, which will work, but ArcGIS puts limits on geodatabase participation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;by views.&amp;nbsp; If you're going to have to reload the table anyway, consider doing some&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;row-order optimization as well, by exporting in spatial index order.&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>Fri, 25 Jun 2010 16:36:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69075#M3979</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-06-25T16:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Order Fields in an SDE Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69076#M3980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yikes! I never knew something so simple could be so complicated. I wonder why it is so easy to do with in MS Access and Excel. Microsoft must have a secret they are not sharing. Thanks for the reply. We will stick with what we got. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Short answer: No.&lt;BR /&gt; &lt;BR /&gt;Essay form: ArcSDE isn't a database, it's an interface to databases. The only &lt;BR /&gt;way to change table column order with the ArcSDE API is to export in the desired &lt;BR /&gt;order and create a new table with the result.&amp;nbsp; If, as in your example, you can &lt;BR /&gt;coax the database to reorder the columns, then ArcSDE will present them in that&lt;BR /&gt;order, but a brief web search indicates that &lt;A href="http://databases.aspfaq.com/general/how-do-i-change-column-order-in-a-table-structure.html"&gt;SQL-Server&lt;/A&gt;, &lt;A href="http://wiki.postgresql.org/wiki/Alter_column_position"&gt;PostgreSQL&lt;/A&gt; and &lt;A href="http://forums.oracle.com/forums/thread.jspa?threadID=379860"&gt;Oracle &lt;/A&gt;&lt;BR /&gt;do not permit this as a trivial operation.&amp;nbsp; Many of the referenced links recommend&lt;BR /&gt;using a view, which will work, but ArcGIS puts limits on geodatabase participation&lt;BR /&gt;by views.&amp;nbsp; If you're going to have to reload the table anyway, consider doing some&lt;BR /&gt;row-order optimization as well, by exporting in spatial index order.&lt;BR /&gt; &lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 17:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69076#M3980</guid>
      <dc:creator>TimHayes</dc:creator>
      <dc:date>2010-06-25T17:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Order Fields in an SDE Geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69077#M3981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Neither Access nor Excel are relational database management systems (RDBMS); since they &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can keep all data in memory and just rewrite, there isn't any real magic involved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If your source table is spatially fragmented (that is, there is no correspondence between&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;location and row number -- when you draw a single layer at 1/4-1/10 of the total extent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and features render in apparently random order), then there could still be a large benefit &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to draw (and other spatial search) performance with row optimization.&amp;nbsp; It only becomes &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;obvious on tables with a 300k+ rows or more, but the difference is measureable with as&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;little as 10k rows.&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>Fri, 25 Jun 2010 19:05:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/re-order-fields-in-an-sde-geodatabase/m-p/69077#M3981</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2010-06-25T19:05:58Z</dc:date>
    </item>
  </channel>
</rss>

