![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a SQL Server 2000 DTS Package, where within a Data Transformation task, with source being a text file delimited with ~¬ and destination being a SQL Server table, I tried to use the "Trim String" transformation to transfer column by column (one to one mapping). Each Transformation has "Trim leading white space" and Trim trailing white space" ticked. However, there are trailing white spaces in the destination SQL Server column (like how the data appear in the source file. How could I solve this?? Alternatively, are there any simple SQL I can run to clear trailing whitespaces on all columns on all rows in a given table? |
#3
| |||
| |||
|
|
I have a SQL Server 2000 DTS Package, where within a Data Transformation task, with source being a text file delimited with ~¬ and destination being a SQL Server table, I tried to use the "Trim String" transformation to transfer column by column (one to one mapping). Each Transformation has "Trim leading white space" and Trim trailing white space" ticked. However, there are trailing white spaces in the destination SQL Server column (like how the data appear in the source file. How could I solve this?? Alternatively, are there any simple SQL I can run to clear trailing whitespaces on all columns on all rows in a given table? |
![]() |
| Thread Tools | |
| Display Modes | |
| |