HomeForum
Welcome, Guest

Padding with white spaces
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Padding with white spaces

Padding with white spaces 1 year, 2 months ago #2134

  • Todd
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Help me please

Yes, It's me again...

I'm trying to do a simple update. Three fields.

I've got the mapping all set up and it does update the fields I want, but
it's adding trailing spaces to the updated fields.

The source data is

ID TNPath MEDPath
010061 images/Products/TR/TN/01/01-0061A.jpg images/Products/TR/MED/01/01-0061A.jpg
010062 images/Products/TR/TN/01/01-0062A.jpg images/Products/TR/MED/01/01-0062A.jpg
As you can see, it's just tab delimited.

The problem is that after I do the update, the TNPath and MEDPath fields in
the DB have trailing spaces that extend beyond the last desired character.
These spaces are not in the source file.

Here's a copy/paste of a field:
[images/Products/TR/TN/01/01-0061A.jpg ]
The value is between the []. Notice all the spaces.

In the DB, this field is set to be a NVARCHAR 512, and VIMP seems to be
insisting on using it all.

How do I just get the value from the source file and no extra spaces?

Thanks!

Re: Padding with white spaces 1 year, 2 months ago #2137

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Can you try latest version please

Peter
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

We soon realised that Visual Importer ETL was designed by people who use it everyday.

Mark Brown,
MIS Consultant

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top