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


Overview

Data flow transformation performing column type conversion.


Setup

The script is intentionally asynchronous because it does setup output columns with the same names as the input columns but different type. The script has the following parameters:

  • Columns - selects one or more input columns for processing.
  • Type - selects destination SSIS data type.
  • Length - specifies destination column length.
  • Precision - specifies destination column precision.
  • Scale - specifies destination column scale.
  • CodePage - specifies destination column code page.

Requirements

Depends on COZYROC Script Component Plus component 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