February 01, 2019, 01:07 PM
zcbillions[CLOSED] (Datamigrator) NULL Values
Hi all,
I've looked everywhere and can't find a way to make NULL values in a field '0'. There's no SQL function.
Anyway to simply make null values '0'.
Thank you in advance.
This message has been edited. Last edited by: FP Mod Chuck, February 01, 2019, 01:25 PM
MartinYI may not properly understand your need, but in SQL you can do :
COALESCE(OldField, 0)
or
ISNULL(OldField, 0)
And in FOCUS within a DEFINE it can be:
NewField /I5 = IF OldField EQ MISSING THEN 0 ELSE OldField;
But none may work with Datamigrator...
February 01, 2019, 01:44 PM
FP Mod Chuckzcbillions
You can use a define in the master file as MartinY has shown then use the DEFINED field in the data flow instead of the real field.