BookmarkSubscribeRSS Feed
yudhishtirb
Calcite | Level 5

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

 

2 REPLIES 2
Reeza
Super User

Try Coalesce function. 

PGStats
Opal | Level 21

SAS hasn't implemented Magic (yet). You still have to look up the documentation. Smiley Very Happy

PG

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 9042 views
  • 3 likes
  • 3 in conversation