Adding numeric data to a dataflow in a scriptcomponent-> Invalid number in OLE db Command transformation

Hi there,

This seems a bug to me. Or does anyone has a logical explanation that escapes me

When in SSIS Designer Version 9.00.1399.00 I add output columns (numeric 4,0 ) to a scriptcomponent and fill them with valid numeric data in thescript I get a database error 'invalid number' when I use these columns in an OLE db Command-transformation . This errormessage disappears when I replaces those columns by a dataconversion to the datatype they originally have.

Derived Column Name Derived Column Expression

STATUS_DEF Replace 'STATUS_DEF' (DT_NUMERIC,4,0)STATUS_DEF

Maybethis info is usefull for somebody else who can't figure out wathever he's doing wrong.

Paul Baudouin



Answer this question

Adding numeric data to a dataflow in a scriptcomponent-> Invalid number in OLE db Command transformation

  • Dawn Wood

    Yeah, the derived column UI does some type conversions that can trip you up like this.

  • Adding numeric data to a dataflow in a scriptcomponent-> Invalid number in OLE db Command transformation