dbTalk Databases Forums  

Trimming Transformation not working

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Trimming Transformation not working in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Patrick
 
Posts: n/a

Default Trimming Transformation not working - 09-18-2006 , 11:40 AM






Using SQL Server 2000 latest SP and DTS Designer.

I am using a String trim transformation with
-Text file (~ delimited) as data source
-SQL Server table as a destination

Although ticked "Leading" and "Trailing" spaces to be trimmed.

~ ~ (tilda space tilda) is not trimmed, resulting in a space in destination
column.

How do I fix this?

Reply With Quote
  #2  
Old   
Slice
 
Posts: n/a

Default Re: Trimming Transformation not working - 09-21-2006 , 02:12 PM






Problems like that if not answered by a driver setting or functional
method will likely best be handled by changing that columns
transformation into not merely a COPY operation but into an ActiveX
transformation.

i.e. double-tap on black transformation line between sources, then hit
the transformation tab, delete the line connecting the two columns
involved - click-drag to create a new "ActiveX" vs. COPY
transformation.

Alternatively buffer the data into a temporary table and clean it up by
hand; may work depending on size of data involved.



Patrick wrote:
Quote:
Using SQL Server 2000 latest SP and DTS Designer.

I am using a String trim transformation with
-Text file (~ delimited) as data source
-SQL Server table as a destination

Although ticked "Leading" and "Trailing" spaces to be trimmed.

~ ~ (tilda space tilda) is not trimmed, resulting in a space in destination
column.

How do I fix this?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.