Hello,

I have a problem with a varchar(15) field. We export this record with a bcp command and I get an new line in the export file from the specific field. When I look at this field then I just see 12 numbers in it. When I do a len from the field then the field has 13 characters.

Is there a way to display the 13th character?? I already tried casting to nvarchar and ntext types.

regards,

Space1000

I already found the solution. It's not a control character. It's a combination of two fields of wich one end with a space. It's just a bug in the bcp application....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.