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

Handle optional field in flat file loading

$
0
0

Hi All,

I have a requirement to load a flat file (csv), where a particular field is optional (I may /may not get the field in source file)

Scenario1 :

Col1,Col2,Col3,Col4

1,2,3,4

1,2,5,6

Scenario2 :

Col1,Col2,Col4

1,2,4

1,2,6

From the above example, col3 is optional. I need to dynamically map according to the source file (based on the presence of Col3)

Please let me know your suggestions to handle this in SSIS without Metadata Approach

Thanks,


Regards, Dineshkumar,
Please Mark as Answer if my post answers your question andVote as Helpful if it helps you

Dineshkumar's BI Blog



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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