I have a character column, which can be either null or have an all Upercase Word.
The problem is when I go to select Column <> "", it selects some lines that in my eyes are null.
I already tried the compress, strip and trim functions, but it did not work.
Can you please help?
data test;
string 1 = "ABCDEF";
string 2 = ""
string 3 = " "
Answer provided here.
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.