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

Data getting truncated

$
0
0

Good Morning,

In my SSIS Package i am loading data from a sql server table to a flat file. In the sample below i am posting only two column out of 10 total columns and i am facing issues with the one of the two columns "name". When i load into a pipedelimited flat files only the first letter of the "name"column are getting loaded. In the below case in the flat file i see the values (D,I,F,K) in the flat file instead of (Diversified,International,FMD,Key). 

What i  tried so far, on the source advance editor i changed the column name to (DT_STR) from 1 to 50. I added a dataviewer and it shows the first letter of the word as well. Am i missing something here, please suggest.

Thanks

create table sample (id uniqueidentifier,name varchar)
insert into sample values ('5BB8427F-D7BD-4760-B4A7-3CF0C4EECC5D','Diversified',
'37BB5BC3-384C-4885-B117-42A9311A0216','International',
'9557DD54-6F8F-487B-97DF-F123DFEE7C08','FMD',
'0B087D16-09AF-4874-A57C-F93AB36AD4E9','Key')


SV


Viewing all articles
Browse latest Browse all 24688

Trending Articles