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.
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
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.