Hi,
How can I use two functions against single data field. Ex:
Flat file look like this:
Name, Address, Last_automobile
XXXX ,2222 , Honda
YYYY, 3333 ,NULL
Control file:
Name RTRIMName),
Address TRIMAddress),
Last_automobile RTRIM (NULLIF (Last_automobile='NULL'))
Last line is not working and causing an error. How can I use RTRIM or TRIM & NULLIF together ?
thx,
Al
How can I use two functions against single data field. Ex:
Flat file look like this:
Name, Address, Last_automobile
XXXX ,2222 , Honda
YYYY, 3333 ,NULL
Control file:
Name RTRIMName),
Address TRIMAddress),
Last_automobile RTRIM (NULLIF (Last_automobile='NULL'))
Last line is not working and causing an error. How can I use RTRIM or TRIM & NULLIF together ?
thx,
Al