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

Extract Columns From Different layout from single flat file

$
0
0

Hi Team,

I have Flat File like mentioned below. I want to dump data on "Column: Type" basis. If Type = 0 then dump in 1 table, Type =1 then dump in 2nd table and if  Type = 3 then dump in 3rd table. And using conditional split it's working well. But My concern is Dump Data with a respective column. As for now at destination table, I am mapping "Name" AS "CLASS" For 2nd table and "Name" AS "School" for a 3rd table. I want that it will be dynamic or is it possible in SSIS????? Please help me!!! 

Type  NAME    VALUE

0    XYZ     10

0    ABC     20

Type   CLASS   DEPT

1     12      Science

1     12      Art

Type    School    Date

2      HighSchool    01-01-2019


Best Regards,

Ravi



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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