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

applying header record using script task ssis

$
0
0

Hi guys,

I was stucked at creating header record in flat file. can you please provide me some code using script task. header should be like follows,

RECORDTYPE - H (size 1)

ACCOUNT NUMBER - U12345 (size 8)

DATE - CCYYMMDD (size 8)

EXTRASPACE - 50 SPACES (size 50)

OVER ALL MY HEADER SHOULD BE LIKE

HU1234520130326                                                                  -- header should be like this and spaces of 50 after this...

can any one help me out this with script task.... posting the code which gives this result would be appreciated....

thanks

fresher geek


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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