May 10, 2018 at 2:48 pm
Hello
I have around 40 flat files to move to my sql database
My destination table look like this
while importing from flat file to destination i am receivng the following error
my column 4 is a mix of characters,strings and Arabic text .
i tried
1 ) altered destination column to varbinary (max) but not successful
2 ) Column 4 converted to unicode_textstream_DTNTXT ,and failed ?
How to copy from flat files to destination successfuly ?
May 10, 2018 at 2:56 pm
It's a truncation error, not a conversion. Increase the size of the Length, it seems 50 is not large enough. Assuming it is mapping to ENTERVALUE, it's (about) 462 characters too short.
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
May 10, 2018 at 3:21 pm
Thom A - Thursday, May 10, 2018 2:56 PMIt's a truncation error, not a conversion. Increase the size of the Length, it seems 50 is not large enough. Assuming it is mapping to ENTERVALUE, it's (about) 462 characters too short.
Its returning same error for any length . i tried 512,524 and 600
May 11, 2018 at 1:51 am
aloshya - Thursday, May 10, 2018 3:21 PMThom A - Thursday, May 10, 2018 2:56 PMIt's a truncation error, not a conversion. Increase the size of the Length, it seems 50 is not large enough. Assuming it is mapping to ENTERVALUE, it's (about) 462 characters too short.Its returning same error for any length . i tried 512,524 and 600
And what is the longest value in Column 4?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
May 11, 2018 at 2:22 am
Thom A - Friday, May 11, 2018 1:51 AMaloshya - Thursday, May 10, 2018 3:21 PMThom A - Thursday, May 10, 2018 2:56 PMIt's a truncation error, not a conversion. Increase the size of the Length, it seems 50 is not large enough. Assuming it is mapping to ENTERVALUE, it's (about) 462 characters too short.Its returning same error for any length . i tried 512,524 and 600
And what is the longest value in Column 4?
Not more than this
Acknowledged alarm "98236DR-Communication Lost -Emergency GARestored/الساØلية الأمريكية أن. جعل بل بÙرض ارتكبها التقليدية. مما نتيجة " AR882-MECHSQWSI
May 14, 2018 at 4:30 am
May 14, 2018 at 4:32 am
aloshya - Monday, May 14, 2018 4:30 AM
Mentioning doesn't exist in SSC.
Back on topic, I assume that this is occurring straight at the source. If you set the source to not fail on truncation errors on that column, what does your data look like? Do you notice any truncated text?
Thom~
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does.
Larnu.uk
May 14, 2018 at 5:18 am
Just a quick point, did you change the output value as well as the source value in advanced editor? If you have only set one, then it will still fail on the other with the same error.
May 16, 2018 at 9:57 am
Thom A - Monday, May 14, 2018 4:32 AMaloshya - Monday, May 14, 2018 4:30 AMMentioning doesn't exist in SSC.
Back on topic, I assume that this is occurring straight at the source. If you set the source to not fail on truncation errors on that column, what does your data look like? Do you notice any truncated text?
You lucked out with me noticing this topic, as what Thom A indicates is true, "mentioning" doesn't do anything in this forum. Thom is also correct in suggesting you configure your source to not fail on a truncation error, and see what kind of result that produces. You'll also want to do the same on your destination, as Rick-153145 suggests. Once you test it and see what the results are, post back and we can go from there...
Steve (aka sgmunson) 🙂 🙂 🙂
Rent Servers for Income (picks and shovels strategy)
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply