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

insert csv data into newly created columns

$
0
0

I have csv source with dynamically adding columns..

Tables : Dim_Employee and Dim_Employee_Dynamic.

Dim_Employee - Columns : Name, Age,Location

Dim_Employee_Dynamic - Columns : Name, Gender, Designation,etc...

The Dim_Employee_Dynamic will get columns dynamically from csv file using SP which creates column into Dim_Employee_Dynamic if the column name doesn't exists.

I am unable to use Bulk Insert task and map the columns into my Dim_Employee_Dynamic table. Could you help me on the concept where i can insert data into main table and dynamic table based on the columns from csv


ShanmugaRaj


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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