Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSIS to Load selected CSV File columns into SQL Server 2008 database table Expand / Collapse
Posted Wednesday, May 15, 2013 8:08 AM


Group: General Forum Members
Last Login: Monday, September 29, 2014 8:02 AM
Points: 22, Visits: 47

The source file format in CSV, lets assume it has following data

id name marks
1 a 100
2 b 90

I have created flat file connection manager to read the source file and I have created a table with ID and Marks column and mapped in OLE DB mapping, though when I run the package, it loads id and name values instead of id and marks data.

please help?

Post #1453116
Posted Wednesday, May 15, 2013 10:34 AM



Group: General Forum Members
Last Login: Yesterday @ 8:10 AM
Points: 10,808, Visits: 14,835
Sounds like either your mapping is incorrect or the CSV isn't right. Without seeing the package and the CSV file hard to say for sure.

Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming
At best you can say that one job may be more secure than another, but total job security is an illusion. -- Rod at work

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
Post #1453220
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse