<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.ormfoundation.org/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Open Discussion &amp; Feature Requests</title><link>http://www.ormfoundation.org/forums/10.aspx</link><description>This is where you can discuss your suggestions for functions that are not provided by the current release of the NORMA tool. You can also ask questions on how to use the tool.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1821.aspx</link><pubDate>Sat, 27 Jun 2009 19:23:24 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1821</guid><dc:creator>John Saunders</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1821.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1821</wfw:commentRss><description>&lt;p&gt;Thanks, Terry, I&amp;#39;ll look forward to seeing these abilities grow over time.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1813.aspx</link><pubDate>Fri, 19 Jun 2009 17:40:08 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1813</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1813.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1813</wfw:commentRss><description>&lt;p&gt;Cheers to you to Terry and Ken and John&amp;nbsp; &lt;img src="http://www.ormfoundation.org/emoticons/emotion-21.gif" alt="Yes" /&gt;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1812.aspx</link><pubDate>Thu, 18 Jun 2009 22:27:28 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1812</guid><dc:creator>Terry Halpin</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1812.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1812</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I agree that it is highly desirable when viewing relational tables to have them ordered in a way for convenient viewing, e.g. list the most important columns first (e.g. PK columns) and keep related columns grouped together (e.g. parts of an address or name). &lt;/p&gt;&lt;p&gt;Unfortunately, NORMA does not let you do this yet (other than your manually reordering the DDL code it that it generates). Control of column order is one of our high priority items to add to NORMA in the future, and is included in our specification of a much better relational designer for a future release. &lt;/p&gt;&lt;p&gt;Cheers&lt;/p&gt;&lt;p&gt;Terry &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1811.aspx</link><pubDate>Wed, 17 Jun 2009 19:46:26 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1811</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1811.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1811</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1810.aspx</link><pubDate>Wed, 17 Jun 2009 19:45:10 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1810</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1810.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1810</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In firs image you see ORM model.&lt;/p&gt;
&lt;p&gt;In&amp;nbsp;second image you see DDL that generate Norma.&lt;/p&gt;
&lt;p&gt;In third image you see &amp;quot;good practice&amp;quot;. There is no things that I can do with ordered columns that I can&amp;#39;t with unordered columns but....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1808.aspx</link><pubDate>Wed, 17 Jun 2009 10:39:50 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1808</guid><dc:creator>John Saunders</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1808.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1808</wfw:commentRss><description>&lt;p&gt;Ken, having just gone through this painful exercise, I&amp;#39;ll ask you to consider the case where only 10 or 20% of the conceptual schema changes after reverse engineering in ways that will affect the mapping to DDL. In particular, this is a data warehouse, and most of the dimension tables had no need to change at all. &lt;/p&gt;&lt;p&gt;In many cases, the only changes were trivial, but needed to be seen to be trivial as well. For instance, I made several &amp;quot;name&amp;quot; objects mandatory, and a few were made one-to-one unique. In this case, a schema compare should have shown only a change from NULL to NOT NULL, and should have shown the addition of the UNIQUE constraint. &lt;/p&gt;&lt;p&gt;Seeing a change in column order was distracting, to say the least. &lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1807.aspx</link><pubDate>Wed, 17 Jun 2009 07:27:09 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1807</guid><dc:creator>Ken Evans</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1807.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1807</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;John Saunders:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I need to be able to compare the schemas between the old and new&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Hi John,&lt;br /&gt;On the surface, comparing the&amp;nbsp;reverse engineering results with the &amp;quot;original&amp;quot; sounds like it might be a&amp;nbsp;good reason for being able to order columns.&lt;br /&gt;&lt;br /&gt;The issue I see here is that&amp;nbsp;many potential &amp;quot;source&amp;quot; databases are not likley to be in 5NF and they will probably&amp;nbsp;contain many anomalies. Thus, after reverse engineering to ORM and&amp;nbsp;then validating the facts with domain experts, you will probably generate a logical schema that bears little resemblance to the original &amp;quot;source&amp;quot; schema.&amp;nbsp;In such a situation, column order would be only one of many factors to &amp;quot;compare&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Having said that, I would also like to know from Oliver the basis of his &amp;quot;good practice&amp;quot; comment.&lt;br /&gt;Oliver, I am wondering what it is that you want to do&amp;nbsp;with ordered columns that you can&amp;#39;t do with&amp;nbsp;unordered columns?&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1806.aspx</link><pubDate>Wed, 17 Jun 2009 03:12:52 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1806</guid><dc:creator>John Saunders</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1806.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1806</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt; &lt;strong&gt;oliver:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;but I think that is good practice order columns in data table. &lt;/p&gt;&lt;p&gt;
&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Oliver, would you mind saying why you feel it is good practice? Does your feeling change when you realize the DDL was generated by a tool, and that the order of the columns does not equate to the intent of a human designer?&lt;/p&gt;&lt;p&gt;Having asked that, I have my own reasons for wanting to be able to set the order. After reverse-engineering an existing database, I&amp;#39;ve needed to enhance the conceptual model, then generate DDL for the changed model. I need to be able to compare the schemas between the old and new. If the columns generated by NORMA are in random order, change varchar to nvarchar and int to decimal, then I&amp;#39;m going to have a very hard time creating useful change scripts, or even knowing what actually changed. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1805.aspx</link><pubDate>Tue, 16 Jun 2009 20:42:19 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1805</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1805.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1805</wfw:commentRss><description>&lt;p&gt;Hi Ken,&lt;/p&gt;
&lt;p&gt;I agree that column order does not important from that point of view but I think that is good practice order columns in data table. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1804.aspx</link><pubDate>Tue, 16 Jun 2009 10:02:04 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1804</guid><dc:creator>Ken Evans</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1804.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1804</wfw:commentRss><description>&lt;p&gt;Hi Oliver,&lt;/p&gt;
&lt;p&gt;Thanks for the diagrams. It always helps to use examples.&lt;/p&gt;
&lt;p&gt;The relational model (and set theory)&amp;nbsp;do not require columns to be in any&amp;nbsp;order.&lt;br /&gt;The implication of this is that&amp;nbsp;an SQL query will work regardless of the order of the columns.&lt;/p&gt;
&lt;p&gt;Since you&amp;nbsp;probably know this, it would be helpful if you can explain why you want the columns in the data model to be in a particular order.&lt;br /&gt;How does ordering the columns in the data model help you to achieve your objective?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1803.aspx</link><pubDate>Mon, 15 Jun 2009 20:44:22 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1803</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1803.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1803</wfw:commentRss><description>&lt;p&gt;&lt;img height="1" alt="" src="http://www.ormfoundation.org/forums/C:/Users/Oliver/Desktop/orm.jpg" width="1" border="0" /&gt;&lt;img height="1" alt="" src="http://www.ormfoundation.org/forums/C:/Users/Oliver/Desktop/orm.jpg" width="1" border="0" /&gt;Hi Ken,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for your help, but&amp;nbsp;&amp;nbsp;I do not find solutions for my problem yet.&amp;nbsp; &lt;img alt="Sad" src="http://www.ormfoundation.org/emoticons/emotion-6.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="1" alt="" src="http://www.ormfoundation.org/forums/C:/Users/Oliver/Desktop/ORM.jpg" width="1" border="0" /&gt;In firs image you see ORM model.&lt;/p&gt;
&lt;p&gt;In second image you see ER model &lt;img height="1" alt="" src="http://www.ormfoundation.org/forums/C:/Users/Oliver/Desktop/er.jpg" width="1" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;In third image you see DDL that generate Norma.&lt;/p&gt;
&lt;p&gt;&lt;img height="1" alt="" src="http://www.ormfoundation.org/forums/C:/Users/Oliver/Desktop/ddl.jpg" width="1" border="0" /&gt;In table&amp;nbsp;Patinet I want column isSmoker to be before column patientName. Is it possible?&lt;font size="2"&gt; You also see that column order in ER and DDL is not the same.&lt;/font&gt;&lt;a href="http://www.ormfoundation.org/forums/AddPost.aspx?ReplyToPostID=1802&amp;amp;Quote=False"&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1802.aspx</link><pubDate>Sun, 14 Jun 2009 16:43:49 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1802</guid><dc:creator>Ken Evans</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1802.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1802</wfw:commentRss><description>&lt;p&gt;Hi Oliver,&lt;/p&gt;
&lt;p&gt;Have a look at this thread.&amp;nbsp; &lt;a href="http://www.ormfoundation.org/forums/p/565/1674.aspx#1674"&gt;http://www.ormfoundation.org/forums/p/565/1674.aspx#1674&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can also try a search on &amp;quot;column order&amp;quot;.&lt;/p&gt;
&lt;p&gt;Let us know if this does not answer your question.&lt;/p&gt;
&lt;p&gt;Ken&lt;/p&gt;</description></item><item><title>Column order in DDL output</title><link>http://www.ormfoundation.org/forums/thread/1801.aspx</link><pubDate>Sun, 14 Jun 2009 07:15:46 GMT</pubDate><guid isPermaLink="false">9d039735-a311-4a8d-9c49-a0bb2572af9e:1801</guid><dc:creator>oliver</dc:creator><slash:comments>0</slash:comments><comments>http://www.ormfoundation.org/forums/thread/1801.aspx</comments><wfw:commentRss>http://www.ormfoundation.org/forums/commentrss.aspx?SectionID=10&amp;PostID=1801</wfw:commentRss><description>&lt;p&gt;How can I define column order for columns in my tables in ddl output.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank yuo for help &lt;/p&gt;</description></item></channel></rss>