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

SSIS Allow import from excel to sql server with column less or more than 255 characters

$
0
0

Hello,

I have an issue and i have looked everywhere but cannot find an answer.

I have an excel file with columns that may have more than 255 characters but sometimes the number of characters may be less than 255.  In this case changing the registry value to check the whole sheet versus the first 8 rows does not work because on one file there may be more than 255 characters and on other files every row may have less than 255. How can this be handled with SSIS and Excel?

If the column has more than 255, the column data is imported successfully. but if it has less than 255 then you get the error: Failed to retrieve long data for column .

I have already tried the following:

1. Set the registry typeguessrows to 0.

2. Add the IMEX=1 in the connection string.

Any other suggestions. Please i am desperate. 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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