DEPRECATED: Starting with SSIS+ 1.9, the .NET scripts are no longer maintained. Use the provided JavaScript alternative scripts instead.
Average: 3.5 (2 votes)


Overview

Data flow transformation to trim input.


Setup

The script has the following parameters:

  • InputColumns - selects one or more input columns for processing.
  • Action - selects component action: Trim, TrimStart, TrimEnd
  • TrimCharacters - specifies characters to trim. Optional.

Requirements

Depends on COZYROC Script Component Plus for implementing parameters user interface.


Library references

  • System
  • System.Data
  • Microsoft.SqlServer.TxScript
  • Microsoft.SqlServer.PipelineHost
  • Microsoft.SqlServer.DTSPipelineWrap
  • Microsoft.SqlServer.DTSRuntimeWrap
  • Microsoft.SqlServer.ManagedDTS
  • CozyRoc.SSISPlus

ScriptMain