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

Write Data to csv file using Script Task

$
0
0

Hi Guys,

I need a code that will write the data in below format to a csv file in the location folder.

Also, I want to write only the texts after Observation (the last 6 lines) to be written to the file.

Thanks

TERMS AND CONDITIONS
https://www.bankofcanada.ca/terms/

SERIES
id,label,description
FXUSDCAD,"USD/CAD","US dollar to Canadian dollar daily exchange rate"

OBSERVATIONS
date,FXUSDCAD
2018-08-29,1.2931
2018-08-30,1.2980
2018-08-31,1.3055
2018-09-04,1.3182
2018-09-05,1.3185


me


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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