ADO.NET Command Transformation

No votes yet

Overview

Data flow transformation, executing SQL command for each row in a data set. It is similar to the standard OLE DB Command transformion, however the executed SQL command is for ADO.NET connection manager. The script has the following parameters:

  • Connection – specifies ADO.NET connection manager.
  • Statement – specifies SQL statement to execute.
  • Timeout – specifies number of seconds before command times out. Set 0 for infinite time-out.
  • ErrorRowDisposition – specifies how error rows are handled:
    • RD_NotUsed – Same as RD_FailComponent.
    • RD_IgnoreFailure – Errors are ignored.
    • RD_RedirectRow – Errors are redirected to ‘Error Output’.
    • RD_FailComponent – Errors cause component to fail.
  • ParseExpression – specifies regular expression to parse statement parameters. This option is provided because there is no standard specification of parameters in ADO.NET. You can read more about ADO.NET parameters here. Sample regular expressions for specific providers:
    • SQL Server – @(\w+)
    • OLEDB, ODBC – (?‘param’\?)
    • Oracle – :(\w+)
  • InputColumns – specifies input columns for command parameters.

Requirements

Depends on CozyRoc Script Component Plus component for implementing parameters user interface.
Requires installation of CozyRoc SSIS+ 1.4 SR-1 library.

Library references

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

ScriptMain

PASS Summit '10

November 8 - 11, 2010 Washington State Convention & Trade Center in Seattle, WA

CozyRoc will be exhibiting at the Premier Conference for SQL SERVER Professionals. Register with code CR3D and get $100 off.

CozyRoc SSIS+ has been nominated for the 2010 SQL Server Magazine Community Choice Awards, category "Best Business Intelligence & Reporting Product". Vote Now to help us win this prestigious award.