Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Split CSV file based on first column value changes and load into destination table in SSIS?

$
0
0

Import.csv file looks like,

TABLE_NAME  DESC    CODE
tab1       table1   A
tab1       table1   B
tab1       table1   C
tab2       table2   D
tab2       table2   E
tab2       table2   G...

First column values are table names which are already exists in target database. Next two columns[Desc],[Code] data gets populate from CSV file to table.

In this scenario, how to load tab1 data into the same table in destination and so on.

Which way will be more standard to accomplish this task? If its a script task using C#, kindly give me a clear script to identify a value changes in the first column. Other suggestions are also most welcome? Thanks in advance.


Venkat G



Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>