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
Solved

SQL2005 SSIS Table Mapping

Posted on 2009-04-09
5
294 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
  • 2
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
N R earned 250 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 11

Expert Comment

by:N R
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 250 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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