Syntax of IsNull in Modify Stage
Posted: Wed Aug 10, 2005 5:47 am
Hi
Ascential Documentation says Modify Stage is very efficient stage.
I tried using it one of my jobs.
My requirement is to chek in a nullable column for nulls and convert them into a default value.
So I tried the following syntax.
But it gives an error saying unidentified conversion/ invalid conversion.
I also tried the function.
here AGE_OUT is the output column and AGE _IN is the input column.
Can somebody give the syntax for using these function in Modify Stage.
I tried using the syntax listed in the documentation. It did not work.
Ascential Documentation says Modify Stage is very efficient stage.
I tried using it one of my jobs.
My requirement is to chek in a nullable column for nulls and convert them into a default value.
So I tried the following syntax.
Code: Select all
AGE_OUT=NullToValue(AGE_IN,-1)
I also tried the function.
Code: Select all
AGE_OUT=IsNull(AGE_IN)
Can somebody give the syntax for using these function in Modify Stage.
I tried using the syntax listed in the documentation. It did not work.