BookmarkSubscribeRSS Feed
Tihannah
Obsidian | Level 7

I have a 'Name' column that is pulling in some generic data sets than contain numerics. How do I create a filter that pulls out any name containing a numeric when the column is in character format? I've tried NOT CONTAINS and NOT LIKE and keep getting ERROR: LIKE operator requires character operands. Any help is appreciated. Thanks!

2 REPLIES 2
Tihannah
Obsidian | Level 7

Not really what I was looking for, but I used the NOTANYDIGIT I found through one of the subsequent links to create a flag for the rows that contained a number and then filtered them out of the dataset. Thanks!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2666 views
  • 1 like
  • 2 in conversation