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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2729 views
  • 1 like
  • 2 in conversation