Skip to main content

5 docs tagged with "component"

View all tags

Add a Row Number Column with a Script Component Transformation

Loops over every user table in a SQL Server source and emits one extract package per table; each package reads the current max(rownumber) from the destination, runs the source through a Script Component transformation that adds an incrementing 'rownumber' column, and writes it to the destination table.

Combine Error Outputs with a Union All

Wires the 'Error' outputs of a DataConversion and an OleDbDestination into a single UnionAll, drops unused columns from one of the inputs via 'IsUsed="false"', and writes the merged failed rows to a flat file destination.

Setting Custom Error Handling Behavior

Demonstrates the 'ErrorHandling' element on a dataflow component, including how to set output-level 'ErrorRowDisposition' and 'TruncationRowDisposition' defaults and override them per column.