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

Dynamic Excel Connection Manager with changing data types

$
0
0

Hi, this is my first question here...

I've created a dynamic excel connection manager to pull in data (to Visual Studio community 2017) from multiple spreadsheets before sending them to a SQL Server table.  My 'For Each File' loops works fine and my connection manager works fine before I make it dynamic.  However, when I make the connection dynamic that's when the package fails.  I've tried various things which all result in either error messages with the metadata and/or datatypes. 

I'm confident I know what the problem is - the spreadsheet datatypes are coming across differently from one spreadsheet to another.  It may not help that (ideally) I'm not picking up the data from row 1 but from row 19 onwards.

I'm wondering if I can force the datatypes in some way at the point of the connection (and then deal with the type conversion once the data is in SQL)?  Or do I need a wholly different approach?

Any thoughts would be much appreciated. 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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