Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Uploading long text from Excel using Data Services

$
0
0

Hi,

 

We are facing an issue when uploading long texts (longer than 255 symbols) from Excel file using Data Services.

 

The problem is that if the first 16 rows of source Excel file don't contain texts longer than 255 symbols, Data Services ODBC driver truncates all further texts in this column to 255 symbols, even if the field length is defined as varchar(2500) in Excel file format in Data Services and if the column contains longer texts in next rows.  If I put a long text in one of the first rows of source file, all further long texts are also uploaded correctly

with full length.

 

I've tested this ussue using simpliest data flow with one source file in Excel format and one target file in CSV format, the problem is at the very fist step of reading data by Excel Workbooks file format.

 

We've tried to set parameter TypeGuessRows = 0, using Microsoft recomendations (http://support2.microsoft.com/kb/189897/en-us), but we are still facing this issue. With TypeGuessRows =0, if the first 16384 rows of Excel file don't contain long texts, all texts in this column are truncated to 255 symbols.

 

We can't add dummy first row with long texts manually, because  these .xlsx files are received from external system daily and should be uploaded automatically.

 

Do you have any ideas about workaround for this issue? Is there a possibility to add dummy row by some kind of script automatically? Or convert xlsx to csv somehow?

 

Thanks,

Jeny


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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