Solved

SQL2005 SSIS Table Mapping

Posted on 2009-04-09
5
289 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
Comment Utility
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
Comment Utility
is it only 1 step or 2?
0
 
LVL 9

Expert Comment

by:Sreedhar Vengala
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now