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

Using C# code defining column names in a flat file as per record length provided

$
0
0

Hello Friends,

I think this is the toughest question am asking... I have 3 different flat files... none of the flat file have column names.. The data in each flat file looks likes this

0101 123 abcd n3xs------> File:1

0201 368 ghsd f3ert hello-----> File: 2

876 fox ---->File:3

Using C# in script task how can i assign column names and also break this files with record lengths and positions....After i do this i need to load the data in my sql server staging tables...

I am not familiar with C# code.. Please help me and give me code snippet so that it works for me...

Let me know if i need to provide some more information


Thanks, Anji


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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