Page 1 of 1

Converting a Smallint to Decimal

Posted: Tue May 01, 2007 9:47 am
by dtatem
Is there an easy way of converting an incoming data type of "smallint" to a decimal? Or is it just as simple as assigning the target field a decimal(5,2)?


Thanks

dtatem

Posted: Tue May 01, 2007 10:00 am
by DSguru2B
Try AsFloat() or AsDouble() in the px transformer for a parallel job. Type conversions are explicitly required in a parallel job.
For a server job its as easy as changing the target datatype.