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

Detecting an Empty Flat File with the Script Task

$
0
0

I am attempting to get this script provided by Microsoft to work to no avail. Specifically, when I set the variable FFNonDataRows to 1 (in order to accomodate for the header row), the variable is not being set to False as expected. I don't know enough about C# to understand why this script isn't working. Can anyone get this script to work in this fashion? Many thanks for your help!

https://msdn.microsoft.com/en-us/library/ms345166(v=sql.110).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

Best,
Ben


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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