I always seems to have problem with NullToEmpty function.
In the current scenario both all the source and target columns are varchar.
The NulltoEmpty does not work and seems to act differently in different jobs.
Code: Select all
If col1=100 then Nulltoempty(col2) else''
Code: Select all
If col1=100 and isnotnull(col2) then col2 else''
Are there any limitations with the use of nulltoempty function
Appreciate reply.