Skip to main content

developerWorks >  Information Management  >  Forums  >  IBM InfoSphere Data Architect  >  developerWorks

How do I insert a column into the middle of a table?    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 4 - Pages: 1 - Last Post: Oct 20, 2009 12:50 AM Last Post By: vmcburney
vmcburney

Posts: 58
Registered: Aug 09, 2005 02:32:34 AM
How do I insert a column into the middle of a table?
Posted: Sep 30, 2009 12:49:29 AM
Click to report abuse...   Click to reply to this thread Reply
I want to add some columns into the middle of a table but the add column in the diagram tool and in the data project explorer both append the new column at the bottom of the table. I have a 200 element table and I need to handle a source system upgrade where 26 new columns have been inserted into the middle of the table. I cannot find any command to insert a column into the middle of existing columns. Please don't tell me I have to spend a day clicking the column up arrow a thousand times to order my columns.

regards
Vincent McBurney
ITToolbox Blogger: Tooling Around in the IBM InfoSphere
JonathanP

Posts: 1
Registered: Oct 02, 2009 04:20:45 AM
Re: How do I insert a column into the middle of a table?
Posted: Oct 02, 2009 04:25:03 AM   in response to: vmcburney in response to: vmcburney's post
Click to report abuse...   Click to reply to this thread Reply
Got the same issue, especially as far as I imported a huge data model from CA ERwin AllFusion, and ordering of the columns was not fully respected ...

I guess one could open the .LDM or .PDM in XML editor in IDA and 'copy/paste' the lines in the desired order. I did not had a chance to try this out.
dtc

Posts: 4
Registered: Nov 14, 2005 12:20:57 PM
Re: How do I insert a column into the middle of a table?
Posted: Oct 02, 2009 04:21:04 PM   in response to: JonathanP in response to: JonathanP's post
Click to report abuse...   Click to reply to this thread Reply
For ERwin import please note ERwin maintains multiple orderings for its columns: the logical order (as it appears in the UI in the logical view), the physical order (as it appears in the UI in the physical view), and the database order (as generated in SQL).
These three orderings can be different, and the import bridge uses the ordering in the following precedence: the database order, the physical order, and lastly the logical order. To see the database order, please uncheck the "Physical -> Display Order -> Physical Order" flag in the Stored Displays properties.
samir e.

Posts: 1
Registered: Oct 13, 2009 04:44:22 PM
Re: How do I insert a column into the middle of a table?
Posted: Oct 13, 2009 04:55:27 PM   in response to: dtc in response to: dtc's post
Click to report abuse...   Click to reply to this thread Reply
Hi all,

I have same problem with mixed columns order after importing data model from ERwin file.
Is there any way to prevent this to happen, either during ERwin export to XML or IDA import steps?

Thanks a lot,
Samir
vmcburney

Posts: 58
Registered: Aug 09, 2005 02:32:34 AM
Re: How do I insert a column into the middle of a table?
Posted: Oct 20, 2009 12:50:22 AM   in response to: vmcburney in response to: vmcburney's post
Click to report abuse...   Click to reply to this thread Reply
In the end I appended the columns to the bottom of the table in the project explorer or diagram and then re-opened the model as a text file and copied and pasted the fields. This took less manual work but was a long way around a simple requirement. The interface is not very friendly for adding columns.

regards
Vincent McBurney
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums