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

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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
  • 729 views
  • 0 likes
  • 2 in conversation