Hello Team,
Greetings
I am just looking to use SQL ISNULL in SAS as below
select ISNULL(b.szMagicColumn6,0) as TotalArrears
from db.MagicData b, db.Master a
where a.wclientcode=b.wclientcode and a.szAccountNumber= b.szAccountNumber
and b.wclientcode in (-100);
But getting following error as
ERROR: Function ISNULL could not be located.
Can you please assist me here ?
Thanks In Advance
Try Coalesce function.
SAS hasn't implemented Magic (yet). You still have to look up the documentation.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.