﻿<?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 » Database Deployment Toolkit (How do I?)  » Controlling column order</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 00:17:51 GMT</lastBuildDate><ttl>20</ttl><item><title>Controlling column order</title><link>http://forum.strataframe.net/FindPost24836.aspx</link><description>How does one control the column order when maintaining fields in the DDT? Ideally the column order that ends up in SQL should match the order displayed in the DDT. It does not, additionally I have&amp;nbsp;an occurrance where the column order is different when deployed to two different SQL servers even after the tables on both servers have been dropped. This is wreaking havoc with some import functions I have.</description><pubDate>Tue, 06 Oct 2009 11:11:02 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Controlling column order</title><link>http://forum.strataframe.net/FindPost24871.aspx</link><description>[quote][b]Keith Chisarik (10/06/2009)[/b][hr]I want the tool to do this for me, ideally.[/quote]&lt;br&gt;
&lt;br&gt;
Me too. :P</description><pubDate>Tue, 06 Oct 2009 11:11:02 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Controlling column order</title><link>http://forum.strataframe.net/FindPost24870.aspx</link><description>I want the tool to do this for me, ideally. Ill try your idea if Trent doent come up with something. I think the DDT should do this, perhaps it does I just dont know of a secret setting or trick (I hope).</description><pubDate>Tue, 06 Oct 2009 10:53:08 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Controlling column order</title><link>http://forum.strataframe.net/FindPost24869.aspx</link><description>Anyway, here is sample of the generated script in which it will rename, create new structure with fields in order then copy data back to new table, and delete renamed table.&lt;br&gt;
&lt;br&gt;</description><pubDate>Tue, 06 Oct 2009 10:34:41 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Controlling column order</title><link>http://forum.strataframe.net/FindPost24868.aspx</link><description>Hi Keith,&lt;br&gt;
&lt;br&gt;
I think it is a problem with MS-SQL.  Using other tools to design the tables,  I have noticed that in order to keep the columns in the same order as I design them, it will have to rename the table, create a new one with the current field order, then copy the data from the renamed table, and then delete the renamed table.&lt;br&gt;
&lt;br&gt;
If you want I can send you a copy of the script that is being generated for this "Copy" functionality.</description><pubDate>Tue, 06 Oct 2009 10:23:25 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Controlling column order</title><link>http://forum.strataframe.net/FindPost24866.aspx</link><description>sorry but...bump</description><pubDate>Tue, 06 Oct 2009 10:08:08 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item></channel></rss>