Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL2005 SSIS Table Mapping

Posted on 2009-04-09
5
Medium Priority
?
310 Views
Last Modified: 2012-05-06
I have a simple SSIS that reads a table and exports to a .csv file.

The problem is that I have added a field to my table but the outpit to .csv does not see the additional field.

How do I update the mapping to add the new field to the output .csv file?

Thanks
0
Comment
Question by:jdr0606
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
Nathan Riley earned 1000 total points
ID: 24111812
You need to update the step that creates the .csv file and reset the columns so that it will see the new one.
0
 
LVL 12

Expert Comment

by:Nathan Riley
ID: 24111813
is it only 1 step or 2?
0
 
LVL 9

Expert Comment

by:Sreedhar Vengala
ID: 24112357
Ok if you are using : Flat File Connection Manager to dump data into CSV -> in ConnectionManager ->Columns -> Reset Columns
and in your Flat File Destination Editor -> mapping -> Map Items by Matching Name (will get contextmenu by right clicking on existing mappings)
0
 

Author Comment

by:jdr0606
ID: 24112437
I have attached a screenshot of where I'm having the issue.

As you will see the available input columns has a field at the end labeled "DueDate".

That field does not exist in the Available Destination file or does it appear below to be mapped in either the input or destination column list.

Where do I need to refresh the mapping or do I just need to redo the project.

Thanks
Image2.jpg
0
 
LVL 9

Assisted Solution

by:Sreedhar Vengala
Sreedhar Vengala earned 1000 total points
ID: 24112485
Ok..one more step in between in your File Connection Manager Editor -> Advanced -> Create a new column matching the one added in Table

and then when back to : FlatFile Destination Editor: anywhere on the mapping : right click and set the mappings accordingly
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question