dbTalk Databases Forums  

SSIS Column Mapping Problem

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


Discuss SSIS Column Mapping Problem in the microsoft.public.sqlserver.dts forum.



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

Default SSIS Column Mapping Problem - 07-13-2006 , 09:04 AM






I am trying to transfer some AS/400 data into SQL 2005 using ODBC connection
and "DataReader Source". In "DataReader Source", a SQL command has to be
specified, for example, "select a,b from tbl". I understand I have to use
"Data Conversion" to convert the default "unicode"(AS/400) to
"non-unicode"(SQL server, I prefer non-unicode in SQL server).

Everything is fine until I add a column in my source sql command, say
"select a,b,c from tbl". If I don't hit refreh button, newly add column "c"
won't show up in the output columns. If I hit refresh button, all downstream
conversion/mappings are messed up. It is so frustrating when you have lots of
columns to re-do. I noticed that when the "Refresh" button is clicked, the
"Column ID" property is automatically changed, which causes invalided mapping
for downstream component.

Is there a esay way for this or am I missing something?

Any help is very much appreciated.

Jason

Reply With Quote
  #2  
Old   
luk
 
Posts: n/a

Default Re: SSIS Column Mapping Problem - 07-14-2006 , 03:51 AM






---- Original message ----
Quote:
I am trying to transfer some AS/400 data into SQL 2005 using ODBC connection
and "DataReader Source". In "DataReader Source", a SQL command has to be
specified, for example, "select a,b from tbl". I understand I have to use
"Data Conversion" to convert the default "unicode"(AS/400) to
"non-unicode"(SQL server, I prefer non-unicode in SQL server).

Everything is fine until I add a column in my source sql command, say
"select a,b,c from tbl". If I don't hit refreh button, newly add column "c"
won't show up in the output columns. If I hit refresh button, all downstream
conversion/mappings are messed up. It is so frustrating when you have lots of
columns to re-do. I noticed that when the "Refresh" button is clicked, the
"Column ID" property is automatically changed, which causes invalided mapping
for downstream component.

Is there a esay way for this or am I missing something?

Any help is very much appreciated.

Jason
This is very annoying but I think that it is the only possibility


Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default RE: SSIS Column Mapping Problem - 07-14-2006 , 05:55 AM



Hello,

Thank you for your post!

This is a quick note to let you know that I am performing research on this
issue and will get back to you as soon as possible. I appreciate your
patience.

+++++++++++++++++++++++++++
Charles Wang
Microsoft Online Partner Support
+++++++++++++++++++++++++++

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

================================================== ===
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.

This and other support options are available here:

BCPS:
https://partner.microsoft.com/US/tec...rview/40010469
Others:
https://partner.microsoft.com/US/tec...pportoverview/

If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default...rnational.aspx.
================================================== ===

This posting is provided "AS IS" with no warranties, and confers no rights.


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

Default Re: SSIS Column Mapping Problem - 07-15-2006 , 05:05 AM



Hello Jason,

So SSIS is metadata mad. it loves it and hates it when you change things.
This is one of the issues with Unicode v Non unicode. What will be happeing
is that when you refresh the metadat in the Source adpater to bring in the
new column the adapter will rebuild the output. It will therefore assign
new LineageIDs and this is what is used all over the place.

You will then get components downstream telling you that they have not seen
a column with this lineageID before. You simply need to go to each component
and choose to map the columns now by name and they should rebuild.

A pain I know but.


Allan

Quote:
I am trying to transfer some AS/400 data into SQL 2005 using ODBC
connection and "DataReader Source". In "DataReader Source", a SQL
command has to be specified, for example, "select a,b from tbl". I
understand I have to use "Data Conversion" to convert the default
"unicode"(AS/400) to "non-unicode"(SQL server, I prefer non-unicode in
SQL server).

Everything is fine until I add a column in my source sql command, say
"select a,b,c from tbl". If I don't hit refreh button, newly add
column "c" won't show up in the output columns. If I hit refresh
button, all downstream conversion/mappings are messed up. It is so
frustrating when you have lots of columns to re-do. I noticed that
when the "Refresh" button is clicked, the "Column ID" property is
automatically changed, which causes invalided mapping for downstream
component.

Is there a esay way for this or am I missing something?

Any help is very much appreciated.

Jason




Reply With Quote
  #5  
Old   
AT
 
Posts: n/a

Default RE: SSIS Column Mapping Problem - 07-18-2006 , 05:16 AM



Hi, Jason,
I've performed a test and reproduced your issue.
This should be an issue by design.

You may submit an online feedback to Microsoft for the improvement in
future.
http://connect.microsoft.com/site/si...aspx?SiteID=68

If you have any other questions or concerns, please feel free to let me
know.

Enjoy your day!

++++++++++++++++++++++++++++++++
Charles Wang
Microsoft Online Partner Support
++++++++++++++++++++++++++++++++

PLEASE NOTE: The partner managed newsgroups are provided
to assist with break/fix issues and simple how to questions.
We also love to hear your product feedback!

Let us know what you think by posting
- from the web interface: Partner Feedback
- from your newsreader:
microsoft.private.directaccess.partnerfeedback.
We look forward to hearing from you!
================================================== ====
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from this issue.
================================================== ====
This posting is provided "AS IS" with no warranties, a
nd confers no rights.
================================================== ====


Reply With Quote
  #6  
Old   
AT
 
Posts: n/a

Default RE: SSIS Column Mapping Problem - 07-20-2006 , 04:53 AM



Hi,

I am interested in this issue. Would you mind letting me know the result of
the suggestions? If you need further assistance, feel free to let me know.
I will be more than happy to be of assistance.

Have a great day!

Charles Wang
Microsoft Online Developer Support


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.