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()
Moderators: chulett, rschirm, roy
Code: Select all
100
200.1
300.123
10A
Code: Select all
IsValid("decimal[12,3]", SrcCol) then SrcCol else SetNull()
Code: Select all
IsValid("decimal", SrcCol) then SrcCol else SetNull()
That shouldn't have anything to do with your validation check, all that does is either pass along the original value if it is deemed valid or replace it with a null. Look elsewhere for your "all are set to zero" issue.vskr72 wrote:All the values are set to 0.000.