Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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
Author
Message
Posted Wednesday, May 15, 2013 8:08 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, July 28, 2013 7:49 AM
Points: 22, Visits: 46
Hi,

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?

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


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Friday, September 12, 2014 1:29 PM
Points: 11,286, Visits: 13,072
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

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