Decimal Validation
Posted: Fri Dec 30, 2011 11:51 am
I have a oracle target table column with data type as Decimal and its precision is 12,3. SO, it can accomodate 3 digits after the decimal.
I have an input coming from a flat file with the following values :
I was expecting the 100, 200.1 and 300.123 to be treated as valid decimals and 10A to be treated (set it to NULL). I don't get the desired results. Am I missing anything here? Thank you
I have an input coming from a flat file with the following values :
Code: Select all
100
200.1
300.123
10A
Code: Select all
IsValid("decimal[12,3]", SrcCol) then SrcCol else SetNull()