﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Issues  » DDT Preserve/Update Field Order?</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 17 May 2026 10:03:34 GMT</lastBuildDate><ttl>20</ttl><item><title>DDT Preserve/Update Field Order?</title><link>http://forum.strataframe.net/FindPost32464.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;After creating a new table with the DDT, I realized that the field order is not as expected, which is causing problems downstream in an application.&lt;br/&gt;&lt;br/&gt;I went into the DDT&amp;nbsp;and reordered the fields, but that doesn't seem to do anything when I deploy to the server. Also, if I create a new database (i.e. deploy to server), the field order is just as it was when the original table was added to the database.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;UPDATE: I must have been seeing things regarding creating a new database, the field order is correct. However, if I deploy the updated field order to an existing database, the field order does not change.&lt;br/&gt;&lt;br/&gt;Can anyone confirm?&lt;br/&gt;&lt;br/&gt;Bill</description><pubDate>Tue, 25 Feb 2014 12:00:08 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: DDT Preserve/Update Field Order?</title><link>http://forum.strataframe.net/FindPost32465.aspx</link><description>Hi Bill,&lt;br/&gt;&lt;br/&gt;[quote][b]William Fields (2/25/2014)[/b][hr]Hello,&lt;br/&gt;After creating a new table with the DDT, I realized that the field order is not as expected, which is causing problems downstream in an application.&lt;br/&gt;Can anyone confirm?[/quote]&lt;br/&gt;&lt;br/&gt;Yes, that is the behavior of the current DDT version.&amp;nbsp; I believe it is a limitation of MS-SQL because I also use &lt;a href="http://www.xcase.com/"&gt;xCase&lt;/a&gt; for data modeling in some projects and they have an option to update a table by using the "Copy" command which will basically do the following:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;Create a new table with a temporary name&lt;/li&gt;&lt;li&gt;Copy data from original table&lt;/li&gt;&lt;li&gt;Delete original table&lt;/li&gt;&lt;li&gt;Rename temporary table with original table name&lt;/li&gt;&lt;/ol&gt;If you need your field names in the order you are designing them, then you may have to manually do the above to get them updated.&amp;nbsp; I know it is a huge inconvenience, but hopefully new version of DDT for SF2.0 would take care of this issue.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 25 Feb 2014 12:00:08 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>