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

XLSX: Column length keeps on changing (sometimes >255, sometimes

$
0
0

Hello,

How do I work around this?  We process multiple XLSX every month... and there are times that one file, all the rows within that column is <255.  But there are other files where some of the columns are >255.  This means that the METADATA will need to keep switching between DT_WSTR(255) and DT_NTEXT.

How do I resolve it so that the EXCELSOURCE will not fail on runtime?  BTW, I already figured out the issue in consuming DW_WSTR(255) and DT_NTEXT using a DataConversion component.  My issue now is that the EXCELSOURCE will keep on redefining its metadata because sometimes the file's column has >255 but another file has <255.

Please help... Thanks.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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