dbTalk Databases Forums  

Column Order in reverse order in Transformation Options

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Column Order in reverse order in Transformation Options in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
deb gerdes
 
Posts: n/a

Default Column Order in reverse order in Transformation Options - 01-14-2005 , 11:23 AM






In a DTS package, I am trying to define the transformations between the
source and the destination. I have selected the "Copy Column" type and went
into the "Transformation Options" dialog box. I selected my source columns
and my destination columns. My problem is that when I then hit the
"Properties" button it shows my columns in the reverse order of how I
selected them on the source and destination tabs. Then when I try to test my
transformation it gives me the following error: "Duplicate column name
resolution could not be done because the ordinal specified column of a
different name". I am assuming the two are related, but I'm not sure. What
could be causing this problem?

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Column Order in reverse order in Transformation Options - 01-15-2005 , 01:40 AM






OK So did you do this

In the transformations tab

Delete All | Select All | New | Copy Column | Properties

In there now you see the columns in the wrong order?

Duplicate column names????

Do you have duplicate column names?

Are you trying to send the same column to different destinations?

Different columns to the same destination?


--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"deb gerdes" <debgerdes (AT) discussions (DOT) microsoft.com> wrote

Quote:
In a DTS package, I am trying to define the transformations between the
source and the destination. I have selected the "Copy Column" type and
went
into the "Transformation Options" dialog box. I selected my source
columns
and my destination columns. My problem is that when I then hit the
"Properties" button it shows my columns in the reverse order of how I
selected them on the source and destination tabs. Then when I try to test
my
transformation it gives me the following error: "Duplicate column name
resolution could not be done because the ordinal specified column of a
different name". I am assuming the two are related, but I'm not sure.
What
could be causing this problem?



Reply With Quote
  #3  
Old   
deb gerdes
 
Posts: n/a

Default Re: Column Order in reverse order in Transformation Options - 01-16-2005 , 10:37 AM



Thanks for the info. I was able to solve my problem.

I do have duplicate column names because my query contains a join. My
original query had "Select * from..." in it. If I explicitly selected the
columns I wanted and ignored the duplicate columns I was able to get the
transformations to work.

What I don't understand is that this particular DTS package is over a year
old and doing a "Select * from..." worked in the past. Something must have
changed recently that would cause the column order to be in reverse.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.