Groups | Blog | Home
all groups > sql server dts > september 2006 >

sql server dts : Trimming Transformation not working


Patrick
9/18/2006 9:40:02 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.

Slice
9/21/2006 12:12:15 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.



[quoted text, click to view]
AddThis Social Bookmark Button