BookmarkSubscribeRSS Feed
InêsMaximiano
Obsidian | Level 7

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 = "    "

 

 

1 REPLY 1

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to connect to databases in SAS Viya

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.

Discussion stats
  • 1 reply
  • 1138 views
  • 0 likes
  • 2 in conversation